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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-18-2003, 09:33 PM
|
#1
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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
|
|
|
07-18-2003, 11:21 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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)
|
|
|
07-19-2003, 12:28 AM
|
#3
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Original Poster
Rep:
|
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
|
|
|
07-19-2003, 12:47 AM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|