LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Lilo config problem (https://www.linuxquestions.org/questions/linux-general-1/lilo-config-problem-16564/)

jackopa 03-18-2002 09:46 PM

Lilo config problem
 
Currently have system with two physical hard drives-one is SCSI and is set-up as disk one, the other is IDE and is disk two. Both drives have W98 and RHL 7.0 set-up in numerous partitions of each. I use Powerquest Boot Magic to boot the various systems. Boot Magic is acting as the primary bootloader and Lilo (which is installed in sda5) is the secondary loader. The set-up works fine for both W98 versions and for RHL on the first disk-the SCSI drive. My problem is that I can't get the RHL on second disk to boot from loader. Have tried several changes to /etc/lilo.conf and researched everything I could but no luck. What do I need to add to /etc/lilo.conf to get second disk to boot RHL? Also, am interested in finding more detailed info on operation of Lilo--any ideas?

DavidPhillips 03-18-2002 10:28 PM

running more than one linux installation on a system with lilo requires that lilo be run with lilo.conf pointing to both kernels, which will be in your /boot folder for RedHat.

You should sync the /boot folders by putting a copy of both sets of files in each /boot and just use different names.

like /boot/kernel1 and /boot/kernel2 or whatever

you should also have lilo on both so you can update and run it from either one.


you must run lilo after making changes to the kernel.


If /boot has it's own partition you can use it for both.

I have it duplicated on mine so I will be less likely to get hosed.


DavidPhillips 03-18-2002 10:57 PM

Here's one of mine with two systems installed.

lilo.conf on both of them contain the same thing, and both /boot folders are identical.

there are seveal kernels, but note the root=/dev/hda6 and root=/dev/hdb1 these are the different linuxes.

image=/boot/vmlinuz-2.4.2-2
label=RedHat-2.4.2-2
root=/dev/hda6
read-only
initrd=/boot/initrd-2.4.2-2.img
append="mem=nopentium hdd=ide-scsi"


image=/boot/vmlinuz-2.4.9-21
label=RedHat-2.4.9-21
root=/dev/hda6
read-only
initrd=/boot/initrd-2.4.9-21.img
append="mem=nopentium hdd=ide-scsi"


image=/boot/lfs-2.4.16
label=lfs-2.4.16
root=/dev/hdb1
read-only
append="mem=nopentium hdd=ide-scsi"


image=/boot/lfs-2.4.16-new
label=lfs-2.4.16-new
root=/dev/hdb1
read-only
append="mem=nopentium hdd=ide-scsi"


image=/boot/lfs-2.4.18
label=lfs-2.4.18
root=/dev/hdb1
read-only
append="mem=nopentium hdd=ide-scsi"


All times are GMT -5. The time now is 05:09 AM.