LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2003, 04:23 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
lilo.conf help


I am trying to add gentoo to my lilo.conf. I am getting this error when I run #/sbin/lilo

Fatal: open /boot/kernel-2.4.20-gentoo-r8: No such file or directory

below is what I have in my lilo.conf
-----------------------------------------------------------
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda6
label = Slackware
read-only
# gentoo kernel info
image = /boot/kernel-2.4.20-gentoo-r8
label = Gentoo
root = /dev/hda3 #this line I also tried as root = /dev/hda5
initrd = /boot/initrd-2.4.20-gentoo-r8
# Linux bootable partition config ends
-----------------------------------------------------------------
I have my boot partition on /dev/hda3 and my root partition on /dev/hda5
 
Old 11-26-2003, 04:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Are Slack's and Gentoo's /boot the
same one? If they're not, Slack's lilo
won't see the Gentoo kernel ;)



Cheers,
Tink
 
Old 11-26-2003, 04:46 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
am I understanding correctly, this is a limitation of lilo(or I have it configured wrong). I used my grub bootloader to boot both redhat and slack.
 
Old 11-26-2003, 05:04 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
He means (I think) to copy Gentoo's kernel to Slack's boot, since that's what Slack's LILO understands by 'boot'. Or at least, that's what I just did with Debian again.
 
Old 11-26-2003, 05:06 PM   #5
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Original Poster
Rep: Reputation: 30
thanks guys
 
Old 11-26-2003, 05:12 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by digiot
He means (I think) to copy Gentoo's kernel to Slack's boot, since that's what Slack's LILO understands by 'boot'. Or at least, that's what I just did with Debian again. :D
Thanks for interpreting ;)

What I mean is that if you have a layout
like this:

Code:
/dev/hda1	/	(slackware)
/dev/hda2	/boot	(slackware)
/dev/hda3	/	(other distro)
/dev/hda4	/boot	(other distro)
or
Code:
/dev/hda1	/	(slackware)
/dev/hda2	/	(other distro)
/dev/hda3	/boot	(other distro)
Lilo won't be able to see /boot/kernel-2.4.20-gentoo-r8
because it wouldn't exist in what lilo
sees as /boot .... to work around this
both distros would have to share the
same /boot partition.

Better? :)


Cheers,
Tink
 
Old 11-26-2003, 05:14 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Glad I got it right. This post was clarifying that I could very well be wrong, but I didn't see your follow up, so never mind.

Last edited by slakmagik; 11-26-2003 at 05:15 PM.
 
Old 11-26-2003, 10:02 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I also share /boot between Mandrake and Gentoo with Grub. It would not work with lilo at all.

The seperate /boot partitions were to confusing. The kernel has different names anyway.

Later

 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 01:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


All times are GMT -5. The time now is 08:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration