LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FC5 / grub (https://www.linuxquestions.org/questions/linux-software-2/fc5-grub-442001/)

billvolz 04-30-2006 12:28 PM

I have a slightly different situation I haven't figured out yet:

On the primary IDE, I have an old windows install that will become a scratch disk.
Linux FC5 is on the secondary IDE
The windows install that I want to boot is on /dev/sda and sdb. It is a mirrored set. I don't care if linux doesn't see it as mirrored - i'm not going to write to it and I can read from one of them.

I just need a grub config that will allow me to boot either sda or hdb.

I tried to install grub in hdb and it loads to stage2 but doesn't find the grub.conf file and I get a grub command prompt.

I now have the boot order so the sata is first so it should be hd0. When I get into grub and do "root (hd0,0)" I get a message "Filesystem type unknown, partition type 0x7". When I then try setup (hd0) I get "error 17: cannot mount selected partition". If I try "root (sda)", i get "error parsing number".

I have a grub.conf file on the floppy that works and boots the correct windows and linux versions. It points to hd0 for windows.

This is Fedora Core 5. It appears to understand the mirror partitions at least for read only. "cat /proc/partitions" shows the two sata drives and a series of dm-1 to dm-10. I mounted /dev/dm-10 as it is supposed to be a fat32 partition and it is the correct partition.

It seems that I just need to install the boot code in the MBR of sba (and sdb?) so it can continure booting from the (hd1)/boot/grub...

Would the dd trick work here?

THanks,


All times are GMT -5. The time now is 10:22 PM.