LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-16-2004, 09:55 AM   #1
DaVenom
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Question Can't lilo triple boot(XP,Slack,Fedora)???


This is how my hard disk looks like

hda1* hda2 hda3 < hda5 hda6 hda7 hda8 hda9>

hda1 = XP Boot partition
hda2 = fedora /boot
hda3 = common swap
hda5 = fedora /
hda6 = fedora /home
hda7 = fat32 XP partition
hda8 = slackware9.1 /
hda9 = slackware9.1 /home

I installed them in this order XP, Fedora, Slackware. During slackware installation, lilo replaced grub(this was intentional). But lilo cannot load fedora properly, it loads the other two fine.

my lilo.conf(the fedora part) reads like this

image = /boot/vmlinuz
root = /dev/hda2
label = fedora
read-only

with this it said 'kernel panic, use init'

now i modified lilo.conf to read like this

image = /boot/vmlinuz
root = /dev/hda2
label = fedora
initrd = /boot/initrd.img
read-only

and reinstalled, lilo.

but the same error continues. I tried, most options from reading the man pages on lilo and lilo.conf, but haven't been successful yet. Maybe i'm doing it wrong.

somebody plz, throw some light.
 
Old 03-16-2004, 10:12 AM   #2
yelo
Member
 
Registered: Oct 2003
Distribution: Debian Unstable
Posts: 41

Rep: Reputation: 15
try passing the option to fedora(at the menu where you pickyour OS) init=/dev/hda2, or if that doesn't work, init=/dev/hda5
 
Old 03-16-2004, 01:16 PM   #3
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Don't pass init options. Change the 'root=' line to /dev/hda5 bacause that is where the Fedora root (/) is. If Fedora needs an initrd, put the path to it relative to Slack. If your fedora /boot (hda2) is mounted at /mnt/fedoraboot in Slack, the path to it in Slack will be /mnt/fedoraboot/initrd.img . Also, change the path to kernel image file accordingly.
 
Old 03-18-2004, 10:49 PM   #4
DaVenom
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 0
thanx aaa....

That worked like a charm...

Now, i'm more confident of lilo... thanks to that tip...
 
Old 03-18-2004, 11:18 PM   #5
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
yes its possible here is my lilo.conf for reference:

# new slack kernel
image = /boot/bzImage-2.6.4
root = /dev/hda10
label = Slackware-9.1
read-only
# old slack kernel
image = /boot/vmlinuz.bak.old
root = /dev/hda10
label = SlackFailSafe
read-only
# winxp
other = /dev/hda1
label = Windows-XP
table = /dev/hda
# new redhat kernel
image = /mnt/rh/bzImage-2.6.4
root = /dev/hda5
label = RedHat-9
read-only
# old redhat kernel
image = /mnt/rh/vmlinuz-2.4.20-8
root = /dev/hda5
label = RHFailSafe
read-only
 
Old 06-18-2004, 01:44 PM   #6
murray_linux
Member
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 210

Rep: Reputation: 30
Hmm, I'm trying to do basically the same thing and I'm running into the same error message. I have WinXP, Slackware and Redhat installed, with Slackware installed last. Slack and XP load fine, when I try to get redhat goin, I get the same error as DaVenom.

I've followed the steps in this thread (mounted my redhat /boot into slack, and added the root and images to my lilo.conf and ran lilo)

my partitions are like this:

hda1 = WinXP
hda2 = Redhat /boot
hda3 = redhat /
hda4 = logical drive partition
hda5 = swap
hda6 = Slackware /


Here is my lilo.conf:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
prompt
timeout = 300
vga = 773

image = /boot/vmlinuz
root = /dev/hda6
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking

other = /dev/hda1
label = WinXP
table = /dev/hda

image=/mnt/rhboot/vmlinuz-2.4.21-4.ELsmp
label = RedhatSMP
root = /dev/hda3
initrd = /mnt/rhboot/initrd-2.4.21-4.ELsmp.img
read-only
append="hdc=ide-scsi root=LABEL=/"

image=/mnt/rhboot/vmlinuz-2.4.21-4.EL
label = Redhat
root = /dev/hda3
initrd = /mnt/rhboot/initrd-2.4.21-4.EL.img
read-only
append="hdc=ide-scsi root=LABEL=/"


Thanks for your help!
 
Old 06-18-2004, 05:02 PM   #7
murray_linux
Member
 
Registered: Nov 2003
Distribution: Slackware Current
Posts: 210

Rep: Reputation: 30
commenting out

append="hdc=ide-scsi root=LABEL=/"

solved the problem
 
  


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 get Fedora to boot up using LILO along with Slack and XP? blk96gt Slackware 2 07-10-2004 10:38 AM
Can LILO allow me to triple boot? captaincaveman Linux - Distributions 1 05-03-2004 06:22 PM
boot FEDORA 2 with my Slack lilo mehargags Fedora - Installation 1 04-08-2004 03:47 PM
triple-boot LILO XP+MDK9.2+Slack 9.1 WannaLearnLinux Linux - Newbie 45 04-06-2004 08:50 PM
Triple Boot w/Lilo zuele Linux - Software 1 10-09-2003 06:02 PM


All times are GMT -5. The time now is 06:21 PM.

Main Menu
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