LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-06-2004, 09:34 AM   #1
Seventh
Member
 
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
Dual/Triple Boot, all linux


Probably a silly question, but here goes. Using lilo, what's the syntax for booting more than one flavor?

3 Partitions, one with RH, one with Debian, one with Mandrake.

image=/boot/bzImage
label=Linux
read-only
root=/dev/hda5

image=?
label=Debian
read-only
root=/dev/hda3

image=?
label=Mandrake
read-only
root=/dev/hda3

How do I point LILO at the right boot partition? Is /boot/ something that's global, or is /boot on my Redhat partition going to be a different /boot on my Debian install?

Like this? image=/dev/hda2/boot/bzImage

Thanks as always.
 
Old 03-06-2004, 10:15 AM   #2
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
your partitioning scheme is going to determine the answers to your questions.

The best i can tell you is that the "boot=" global lilo.conf parameter is where *lilo* is going to be installed (typically the MBR).

In order for lilo to install, it must be able to "see" all of the image files. If this is run from "Linux" (the first one there) then you will need to mount /dev/hda3 somewhere (lets say for example /mnt/debian). Then the "Debian" image is /mnt/debian/boot/kernelname. You *must* mount the debian partition before you can run lilo. Repeat this for "Mandrake" (are you sure thats also /dev/hda3? wouldn't whichever one you installed last have erased the other?)

In cases like this, its probably better to use Grub than lilo, since Grub finds kernels when it boots, rather than you having to have all the kernels when you install it.

Alternatively, you could repartition, and make a "/boot" partition that would then be shared by all three distributions. Make sure its about 60-100MB in size, and make VERY sure to rename each kernel image after installing! (such as bzImage -> bzImage.Debian). Also be sure not to let the other distributions reformat it.

Final choice would be to pick your "favorite" kernel, and use the same kernel for all three distributions.
 
  


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
from dual boot to triple and quadruple boot theory_prof Linux - Newbie 10 10-06-2005 02:28 PM
Linux with triple boot hsani Linux - General 4 04-15-2004 09:34 AM
triple boot with lilo(two linux and XP) rmanocha Linux - Software 24 03-24-2004 05:02 PM
How to triple-boot...two linux and one XP cbjhawks Linux - General 4 01-20-2004 07:31 PM
Dual (triple?) boot system loran Linux - Newbie 7 02-27-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:11 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