LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help with boot loader. Multi boot questions. Grub? (https://www.linuxquestions.org/questions/linux-software-2/need-help-with-boot-loader-multi-boot-questions-grub-104913/)

1993gt40 10-16-2003 07:46 PM

Need help with boot loader. Multi boot questions. Grub?
 
I asked this in another forum, but I thought the bright minds here could give me some good help too.

I have a dedicated Linux box (nothing special p2 450mhz, 512mb, 40gb hdd) which I wish to install a few distro's on. I installed RedHat on a 5 gig partition, and then installed Mandrake on another 5 gig partition. Unfortunately Mandrake removed Grub boot loader and now I have another boot loader and I can't boot RedHat, only Mandrake. I did tell Mandrake to skip the bootloader option during the install, but it did'nt I guess.

I'm not worried about losing any information, these are fresh installs that I am using to learn about linux and the different distro's out there. I'm not oposed to wiping the disk and starting over if I need to.

I like Grub that came with RedHat and would like to keep it.

Thanks in advance!

aaa 10-16-2003 08:28 PM

Well, if Mandrake isn't using GRUB already...
Boot Mandrake, and add entries for Red Hat in the /etc/lilo.conf file (assuming you're using lilo). You'll need to know where the Red Hat kernel is, and probably where the RH initrd is to (they start acting funny without their initrd's). Mount your RH partiton in Mandrake to look at it, and look at RH's /etc/grub.conf . You'll probably be able to gather the locations of the kernel and initrd from here. Add entries for RH like so:
Code:

image=/path/to/rh/kernel
        initrd=/path/to/initrd
        root=/dev/<rhpartition>

Run 'lilo' to apply changes.
If it you're turns out Mandy's using GRUB, just cut/paste the entries from RH's /etc/grub.conf to Mandy's /etc/grub.conf


All times are GMT -5. The time now is 06:12 PM.