Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with Lilo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mopelola
n00b
n00b


Joined: 24 Jul 2005
Posts: 27

PostPosted: Sat Jul 30, 2005 11:47 am    Post subject: problem with Lilo Reply with quote

Hello Guys
Please can anyone tell me how to rectify this problem
??
I have just installed my Gentoo using
stage3-pentium3-2005.0.tar.bz2.
But I got a kernel panic error when I intend to boot
my gentoo.
This is the content of my lilo.conf file:
boot=/dev/hda
prompt
timeout=50
default=gentoo

image=/boot/kernel-genkernel-x86-2.6.12-gentoo-r6
label=gentoo
read-only
append="init=/linuxrc real_root=/dev/hda3
ramdisk=8192"
initrd=/boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

other=/dev/hda1
label=windows

Please kindly assist me where the problem might come
from???

Thanks
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jul 30, 2005 11:55 am    Post subject: Reply with quote

Hi mopelola,

Welcome to the forums. Since you didn't post the error that you get it is not possible to say what is wrong. Have you searched the forums yet? Perhaps somebody has already solved your problem.
Make sure your kernel contains all the drivers for the ide/sata controller and the filesystems you created. Check that the kernel name you use in lilo.conf is the exactly same as the actual file name of the kernel.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
mopelola
n00b
n00b


Joined: 24 Jul 2005
Posts: 27

PostPosted: Sat Jul 30, 2005 11:58 am    Post subject: Reply with quote

Hi Guy
The error I got was just a kernel panic error.
But what i am just concerned about is the initrd and kernel name.
Please kindly tell me if the parameter I passed to both image and initrd is correct??

image=/boot/kernel-genkernel-x86-2.6.12-gentoo-r6
initrd=/boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

Thanks
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jul 30, 2005 12:13 pm    Post subject: Reply with quote

mopelola wrote:
Hi Guy
The error I got was just a kernel panic error.
But what i am just concerned about is the initrd and kernel name.
Please kindly tell me if the parameter I passed to both image and initrd is correct??

image=/boot/kernel-genkernel-x86-2.6.12-gentoo-r6
initrd=/boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

If those two files actually exist in /boot then those lines are correct.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
monicajae
Guru
Guru


Joined: 03 Sep 2003
Posts: 363
Location: Dorset, VT

PostPosted: Sat Jul 30, 2005 3:59 pm    Post subject: Reply with quote

mopelola wrote:
Hi Guy
The error I got was just a kernel panic error.
But what i am just concerned about is the initrd and kernel name.
Please kindly tell me if the parameter I passed to both image and initrd is correct??

image=/boot/kernel-genkernel-x86-2.6.12-gentoo-r6
initrd=/boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

Thanks


ususally my initrd looks like /boot/initrd-blah-blah
Back to top
View user's profile Send private message
BlackMan890
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2005
Posts: 134
Location: Iceland

PostPosted: Sat Jul 30, 2005 4:45 pm    Post subject: Reply with quote

Those files should be correct if you followed the steps and used 2005.0 gentoo livecd.

When i installed my gentoo, i noticed that on the new version (gentoo 2005.0) the initrd had been changed into initramfs

I was a bit afraid at first to pass that argument but it worked.
Back to top
View user's profile Send private message
sheltchin
n00b
n00b


Joined: 30 Jul 2005
Posts: 1

PostPosted: Sat Jul 30, 2005 5:40 pm    Post subject: Reply with quote

hi mopelola,

i've been struggling with the same type problem for 2 days and finally got thru it (and i've been using lilo for years). it's just a typing error. you left out "root=/dev/ram0". also the example in the installation instructions leaves out "x86" in the initrd line which fooled me for a while.

while i guess there is a good reason for genkernel using this ramdisk method, but it seems pretty unique so isn't covered by documentation very well...
Back to top
View user's profile Send private message
mopelola
n00b
n00b


Joined: 24 Jul 2005
Posts: 27

PostPosted: Mon Aug 01, 2005 3:03 pm    Post subject: Reply with quote

Mine mine
Guys I am stucked with the kernel panic error. Please kindly help me further. There is are those 2 files in my kernel but I wondered why it gives the kernel panic error. Lilo didnt give a complaint when I /sbin/lilo. Everything worked fine. BUt to boot my kernel is the problem.
If there is a further advice I will quiet appreciate it.
Thanks
Mope
Back to top
View user's profile Send private message
ce110ut
Apprentice
Apprentice


Joined: 27 Sep 2002
Posts: 200

PostPosted: Fri Aug 05, 2005 1:52 pm    Post subject: Re: problem with Lilo Reply with quote

hi and welcome :D

mopelola wrote:


image=/boot/kernel-genkernel-x86-2.6.12-gentoo-r6
label=gentoo
read-only
append="init=/linuxrc real_root=/dev/hda3
ramdisk=8192"
initrd=/boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

other=/dev/hda1
label=windows


i think you're missing root definition. your config should look like so:

Code:

image=/boot/kernel-genkernel-x86-2.6.12-r6
label=gentoo
root=/dev/ram0
append="init=/linuxrc real_root=/dev/hda3 ramdisk=8192"
initrd=/boot/initramfs-genkernel-x86-2.6.12-r6


give it a try and let us know

:regards:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum