Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Lilo And Multiple Linux Distributions, Lilo and Multiple Linux Distributions
jkirby65
post May 14 2004, 02:33 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 14-May 04
Member No.: 2,954



Hello,

I am just starting in linux. I have sucessfully installed Redhat and Debian, but thought it would be fun to install them both at the same time, plus one or two more distributions. However, I am a little confused by bootloaders (a lot confused). Here is what I have done:

I have two drives, both with two partitions (one swap, one ext3). Redhat 9 is running fine on hda1 being booted by LILO, which is installed on the MBR of hda. I installed Debian on hdb1, requesting that Lilo be installed in the MBR of hdb (maybe I should not have installed a second Lilo?). I thought I would just modify the lilo.conf file on hda1 to include Debian. But, I can't figure out what to include. How do I tell Lilo to boot Debian off of hdb? Here is what the LILO.conf on hda that boots Redhat looks like--- any help is greatly appreciated!

prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinux-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdd=ide-scsi root=LABEL=/"
Go to the top of the page
 
+Quote Post
Jim
post May 14 2004, 04:03 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



You have to do a whats called a chainload. You don't actually boot debian from the first lilo, you boot another lilo. You need to have a copy of lilo installed on the MBR of hdb and than use a command like this to bring up your second lilo which will than boot your debian.

CODE
other=/dev/hdb1
       lable="Lilo hdb"
       table=/dev/hdb


So in order for that to work there has to be another copy of lilo of the MBR of hdb and than from there you can boot the images.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 03:47 PM