LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-18-2002, 10:46 PM   #1
jackopa
LQ Newbie
 
Registered: Nov 2001
Distribution: Red Hat
Posts: 23

Rep: Reputation: 15
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?
 
Old 03-18-2002, 11:28 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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.


Last edited by DavidPhillips; 03-19-2002 at 12:17 AM.
 
Old 03-18-2002, 11:57 PM   #3
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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"

Last edited by DavidPhillips; 03-19-2002 at 12:14 AM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO config problem dave111 Slackware - Installation 7 09-01-2004 10:21 PM
lilo config edit problem lestoil Linux - Newbie 2 05-03-2004 04:31 PM
Seems like small lilo config problem...maybe more devNul73 Linux - Newbie 2 04-06-2004 07:33 PM
lilo and grub config problem slyguyr3 Linux - Software 3 11-07-2003 01:58 PM
keyboard problem (ABNT2) / l/lilo.config ? jamaso Slackware 0 06-10-2002 06:13 PM


All times are GMT -5. The time now is 03:28 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration