LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   GRUB, Multi Linux/Multi Disk Boot (http://www.linuxquestions.org/questions/linux-software-2/grub-multi-linux-multi-disk-boot-50057/)

gtnorton 03-16-2003 02:52 AM

GRUB, Multi Linux/Multi Disk Boot
 
Greetings,
I'm installing a minimal Linux distro onto my primary slave disk as a backup. The main disk has RH8 and XP. I do not want to overwrite the bootloader since it's a production machine and I'm pretty burnt out on re-installs. I've tried to edit the grub.conf, but I'm having trouble with the numbers (hd0,0)...(hd0,1)

The main drive is hda w/ XP as hda1 and RH as hda2. The slave is hdb with hdb1 and hdb2.

Can I just edit the config file to point to the new OS? or do I need to run "grub-install"? Has anyone had luck with re-installing grub on existing partitions after adding? I've read the grub info and didn't get much help.

Any thoughts?

gtnorton

rch 03-16-2003 04:48 AM

Re: GRUB, Multi Linux/Multi Disk Boot
 
Quote:

Originally posted by gtnorton
Greetings,
I'm installing a minimal Linux distro onto my primary slave disk as a backup. The main disk has RH8 and XP. I do not want to overwrite the bootloader since it's a production machine and I'm pretty burnt out on re-installs. I've tried to edit the grub.conf, but I'm having trouble with the numbers (hd0,0)...(hd0,1)

The main drive is hda w/ XP as hda1 and RH as hda2. The slave is hdb with hdb1 and hdb2.

Can I just edit the config file to point to the new OS? or do I need to run "grub-install"? Has anyone had luck with re-installing grub on existing partitions after adding? I've read the grub info and didn't get much help.

Any thoughts?

gtnorton

you could just have read the naming conventions in the grub info page
now your primary slave would be (hd1) and the partition number starting from 1 onwords
that means the first primary partition in your hd would be (hd1,0)

and you don't have to "reinstall" grub after every change in grub.conf
just make the necessary changes in your grub.conf and reboot
that's about it


All times are GMT -5. The time now is 01:38 AM.