Results 1 to 5 of 5
my fdisk -l says
Code:
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start ...
- 01-31-2010 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 23
Unable to boot to windows after reinstalling linux and some partition changes
my fdisk -l says
and entry n grub.conf saysCode:Disk /dev/hdc: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdc1 * 1 1912 15358108+ 83 Linux /dev/hdc2 1913 9728 62782020 f W95 Ext'd (LBA) /dev/hdc5 1913 6374 35840983+ 7 HPFS/NTFS /dev/hdc6 6375 6629 2048256 82 Linux swap / Solaris /dev/hdc7 6630 9728 24892686 b W95 FAT
my windows is in /dev/hdc5. Actually while re-installing linux i deleted /dev/hdc3 and /dev/hdc4 and merged and aded them to /dev/hd7. Now i am not able to boot into windows i tried changing rootnoverify (hd0,2) to (hd0,1,2...all possible options but in vain. What is the suggested solution so that i am able to boot to windows?Code:title Windows XP rootnoverify (hd0,2) chainloader +1
- 02-01-2010 #2
Windows OS has been installed in a Logical Partition and it doesn't boot up in most of machines.
Where did you install Linux earlier? Was dual boot working earlier?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-01-2010 #3Linux User
- Join Date
- Dec 2007
- Location
- Idaho USA
- Posts
- 351
As 'devils casper' posted it is not a good idea to have XP on a logical volume. You will not be able to do any type of XP install, clean or repair. Your best bet would be to use a program to remove XP back to a primary partition. "testdisk" will convert it back.
The correct boot title would be: 'as partitions are currently'
rootnoverify (hd0,4)
chainloader +1
If you current XP will start to boot but fails with 'missing /windows/hal.dll' then the boot.ini file is wrong, XP will be seen on partition #2.Last edited by Lostfarmer; 02-01-2010 at 01:49 PM. Reason: correct grammer
- 02-01-2010 #4Just Joined!
- Join Date
- Feb 2008
- Posts
- 23
Thanks for your reply. XP does not boot at all. Is it any other way you may suggest that i can get things working, I have never used testdisk.
- 02-02-2010 #5Linux User
- Join Date
- Dec 2007
- Location
- Idaho USA
- Posts
- 351
Have you edited your menu.lst ?
rootnoverify (hd0,4)
chainloader +1
Would still suggest converting XP back to a primary partition with testdisk. Doing so will put the swap partition on sdc5 vice sda6. Not sure just what partition XP would be put, would have to have a new look at fdisk -l after running testdisk.
TestDisk - CGSecurity
go there to read the How -TO use first. testdisk may be in your linux repositories , can download from site above only if you know how, or can get a live cd with testdisk and other programs at
News


Reply With Quote