LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Making GRUB default loader again (https://www.linuxquestions.org/questions/linux-newbie-8/making-grub-default-loader-again-73973/)

TheOneAndOnlySM 07-18-2003 08:33 PM

Making GRUB default loader again
 
I just installed Mandrake 9.1 and installed LILO into the MBR

i also run Redhat 9 and Windows, LILO detected windows but not the redhat 9 area, so all i need to know now is ***how to make grub the default loader again****

after that, i want to know how to add mandrake into grub when it is installed into hda5 (i don't know if any boot info is installed into /boot, but /boot is installed into hda3)

Note: i can't get into redhat now

Skyline 07-18-2003 10:21 PM

Hi SM

To triple boot Windows, Red Hat 9 and Mandrake 9.1, I would have just installed LILO when installing both Red Hat and Mandrake ie

Install Windows 1st
Install Red hat 2nd - installing LILO as the bootloader
Install Mandrake 3rd - installing LILO as the bootloader

The idea is simply that you are left with the LILO.CONF settings for both Red Hat and Mandrake that are Specific to that distribution.

Then you would just Mount Red Hats Root partition into Mandrake and copy over the Red Hat LILO settings from Red Hats lilo.conf file into Mandrakes LILO.conf file - then make a tiny modification to take into account the location of Red Hats kernel image given that it has temporarily been mounted in Mandrake.

Finally just run the map installer

/sbin/lilo

(This is the exact setup I've got on one of my computers - if you want to do it this way re-post and I'll explain further)

TheOneAndOnlySM 07-18-2003 11:28 PM

hmm, well it means that i'm probably going to have to reinstall the redhat distro to get LILO installed, hopefully i can just install lilo for it through an upgrade feature, but i'm going to have to try in the morning

Skyline 07-18-2003 11:47 PM

Incidentally SM - if you used LILO for both you'd be pasting in something similar to this


image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append=”hdc=ide-scsi root=LABEL=/”


Then you'd simply modify this to contain the new locations of the Red Hat kernel and Initial Ram disk given that they've been temporarily mounted in Mandrake -

So - if your mount point was

/mnt/SM

your final Red Hat LILO setting that would stay in Mandrakes Lilo.conf file would be simply


image=/mnt/SM/boot/vmlinuz-2.4.20-8
label=RedHatlinux
initrd=/mnt/SM/boot/initrd-2.4.20-8.img
read-only
append=”hdc=ide-scsi root=LABEL=/”

then just run the map installer

as root

/sbin/lilo

(remember to change the label name also)


All times are GMT -5. The time now is 08:44 AM.