LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2003, 04:14 AM   #1
wezgray
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat/Mandrake
Posts: 3

Rep: Reputation: 0
Thumbs up Trying to configure duel boot 4 2 distros


Hello All:

I am learning Linux ... and have hit a snag.

I have Red Hat 9.0 installed on /dev/hda and Mandrake 9.1 installed on /dev/hdb.

I am using LILO as my bootloader. This is where my problem begins. I can only get LILO to recognize one distro at a time.. first only red hat, then if I go into my Mandrake CD Install, it install's its own LILO and ignores RED HAT (vise versus). Can anyone give me the exact settings to confige LILO to duel boot properly. I have learned how to edit LILO in kedit as root.. then to run "/etc/lilo -v" as root to update the bootloader.

Thanks soooo much in advance!!

Aaron

Last edited by wezgray; 06-29-2003 at 03:59 PM.
 
Old 06-29-2003, 04:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
LILO isn't the best bootloader for this situation as it get's a bit confusing. Problem is you need to be able to reference both kernel images via the same lilo configuration, even though the mandrake kernel is presumably not accessible to you normally via redhat ad vice versa.

what you'll need to do is mount the mandrake boot partition inside redhat to get redhat's lilo to be able to use it. for example:

mkdir /boot/mdk
mount /dev/hdb1 /boot/mdk

and assuming mdk's /boot is hdb1 of course, you would then have the mandrake kernel under redhat at /boot/mdk/vmlinuz-2.4.20mdk or similar. Then you just need to add the full options to the redhat lilo.cionf and rerun lilo. As long as you can acces the kernel image then all the other options you have in the mdk lilo.conf will be just as valid.

This is an area when grub makes *much* more sense, as it will specify file paths to kernel images via a more physical system, not only local file systems, so you don't need to mount anything extra
 
Old 06-29-2003, 01:47 PM   #3
wezgray
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat/Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks Chris;

I was able to mount my Mandrake install; and access it at a terminal. However, how do I mount the Mandrake system within lilo. I tried to do the mount command you gave me and it said syntax error when I ran "lilo -v".

I am going to try grub now, and see if I can learn that!

Thanks!

Aaron
 
Old 06-29-2003, 03:58 PM   #4
wezgray
LQ Newbie
 
Registered: Jun 2003
Distribution: Red Hat/Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Hello All:

I have successfully set up the duel boot on my system; thanks for the advice Chris!

I accomplished this using GRUB.

Since this helps me out so much, I will post the text from my GRUB menu.lst:

--------begin GRUB menu.lst---------------------

default=0
timeout=60
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Linux
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-8.img

title Mandrake 9.1
kernel (hd1,0)/boot/vmlinuz-2.4.21-0.13mdk root=/dev/hdb1 quiet devfs=mount hdd=ide-scsi acpi=off vga=0x0f05
initrd (hd1,0)/boot/initrd-2.4.21-0.13mdk.img

title floppy
root (fd0)
chainloader +1
-----------------end menu.lst----------------------------

Thanks again, all

aaron
 
  


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
How do I configure a duel boot with two linux distros? RodneyJM Linux - Software 12 08-27-2005 06:13 AM
duel boot again help me kennycc Linux - Software 2 03-19-2005 04:55 PM
Duel boot?? Lost_linux_Noob Linux - Newbie 6 10-08-2003 04:41 AM
Duel boot?? Caper Linux - Software 4 07-13-2003 07:44 PM
Duel Boot KrazyKid Linux - Software 5 07-03-2002 07:16 PM


All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration