Dual-Booting XP/FC2 with Grub on MBR, SATA not in device.map
Ok i've asked this question at linuxquestions.org and had no luck there so i'll try here.
i'm currently trying to get grub (day 2 trying to do this) to boot win xp which is located on my sata hd, but i don't know how to get linux to detect my sata drive. The reason why it didn't detect it in the first place because i unplugged my SATA hd before i installed FC2 on my IDE hd.
Using fdisk -l i have:
************************************************** ************************************************
Disk /dev/hda: 13.6 GB, 13676544000 bytes
255 heads, 63 sectors/track, 1662 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1532 12201367+ 83 Linux
/dev/hda3 1533 1662 1044225 82 Linux swap
Disk /dev/hdb: 8455 MB, 8455200768 bytes
16 heads, 63 sectors/track, 16383 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb4 * 1 1 0 0 Empty
Partition 4 does not end on cylinder boundary.
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 4865 39078081 c W95 FAT32 (LBA)
/dev/sda2 4866 9729 39070080 f W95 Ext'd (LBA)
/dev/sda5 4866 9729 39070048+ b W95 FAT32
************************************************** *************************************************
in my /boot/grub/device.map i have:
************************************************** *************************************************
(fd0) /dev/fd0
(hd0) /dev/hda
(no sata drive in here)
************************************************** ************************************************
Now i've plugged my SATA back to my computer and i'm trying to get linux to detect it in
device.map so i can edit my grub.conf to boot windows XP. I've tried editing the device.map by adding the line >> (hd1) /dev/sda but that trick didn't work =(.
i'm thinking of following the intructions from a HOWTO in this thread:
http://www.linuxforums.org/forum/viewtopic.php?t=3181 but i'm not sure whether to do it or not since i might cause damage to the computer.
Any ideas or help on how to go about this would be greatly appreciated.
Re: Dual-Booting XP/FC2 with Grub on MBR, SATA not in device
Quote:
Originally Posted by Krazibon3
All I can say is Nerderello is a respected member here at linuxforums.org and has a history of offering good reliable advice. If your still having problems solving this issue, i would suggest take a backup and try it out.
Sure there is always a chance you will screw up your PC, but in 99.999% of cases its not totally irreversable or could be resolved by re-installing.
Sorry i cannot say any more than that.
Jason