LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-18-2003, 09:33 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
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
 
Old 07-18-2003, 11:21 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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)
 
Old 07-19-2003, 12:28 AM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
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
 
Old 07-19-2003, 12:47 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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)

Last edited by Skyline; 07-19-2003 at 12:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
Grub loader BorderPatrol Linux - General 6 12-12-2004 07:36 PM
Grub Loader Default Kernel dr_who Linux - General 1 09-01-2003 09:51 PM
GRUB loader glenn69 Linux - Newbie 10 08-31-2003 01:32 PM
grub loader derekandjac Linux - Newbie 2 02-26-2003 04:06 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration