Grub wont boot XP
I have two SATA HDDs and have XP on one hdd and fedora on the other i boot from fedora, i am trying to use grub on my fedora hdd to boot xp too but it wont happen, help needed
[root@localhost ~]# fdisk -l Disk /dev/sda: 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/sda1 * 1 3187 25599546 7 HPFS/NTFS /dev/sda2 3188 3827 5140800 5 Extended /dev/sda5 3188 3827 5140768+ 7 HPFS/NTFS Disk /dev/sdb: 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/sdb1 * 1 25 200781 83 Linux /dev/sdb2 26 50 200812+ 83 Linux /dev/sdb3 51 703 5245222+ 83 Linux /dev/sdb4 704 9729 72501345 5 Extended /dev/sdb5 704 964 2096451 82 Linux swap / Solaris /dev/sdb6 9534 9729 1574338+ 7 HPFS/NTFS grub.conf #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Fedora-base (2.6.21-1.3194.fc7) root (hd0,1) kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ noapic all-generic-ide rhgb quiet initrd /initrd-2.6.21-1.3194.fc7.img title Fedora (2.6.20-2925.9.fc7xen) root (hd0,1) kernel /xen.gz-2.6.20-2925.9.fc7 module /vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ noapic all-generic-ide rhgb quiet module /initrd-2.6.20-2925.9.fc7xen.img title Windows XP root (hd1,0) savedefault makeactive |
You may need the chainloader statement for windows.
Here is an example: ... #boot=/dev/hda2 default=0 timeout=10 splashimage=(hd0,1)/grub/splash.xpm.gz title Red Hat Linux (2.4.7-10) root (hd0,1) kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3 hdc=ide-scsi initrd /initrd-2.4.7-10.img title Windows 2000 rootnoverify (hd0,0) chainloader +1 |
Window$ will only boot from the first BIOS drive and you have set it up as the second BIOS drive.
You need to map the window$ drive as the first BIOS drive. See the explanation in the Grub Manual section 4.2.6 DOS/Windows. |
did you do that "fdisk -l" from the installed Fedora?
Are you telling the BIOS to boot from the Fedora drive? If you boot from the Fedora drive, then it should show up as sda, not sdb (I think)... However, if Fedora boots correctly, then that means the Windows drive is seen as #2. Your root (hd1,0) line is correct, but you also need the map command to trick the system into thinking Windows in on #1. And you need the chainloader command. Try this: Quote:
|
Code:
/dev/sda1 * 1 3187 25599546 7 HPFS/NTFS <-- (hd0,0) |
Quote:
|
Quote:
So it looks like his Windows drive section is referencing the wrong partition, because Windows is likely to be on one of the NTFS partitions. If I had to guess, (hd0,1) looks like the ticket. |
Oooooops--I obviously mis-read your post..sorry.
Let's wait for OP to catch up..... |
All times are GMT -5. The time now is 02:57 PM. |