View previous topic :: View next topic |
Author |
Message |
mopelola n00b
Joined: 24 Jul 2005 Posts: 27
|
Posted: Sat Jul 30, 2005 11:47 am Post subject: problem with Lilo |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 30, 2005 11:55 am Post subject: |
|
|
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 |
|
|
mopelola n00b
Joined: 24 Jul 2005 Posts: 27
|
Posted: Sat Jul 30, 2005 11:58 am Post subject: |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 30, 2005 12:13 pm Post subject: |
|
|
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 |
|
|
monicajae Guru
Joined: 03 Sep 2003 Posts: 363 Location: Dorset, VT
|
Posted: Sat Jul 30, 2005 3:59 pm Post subject: |
|
|
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 |
|
|
BlackMan890 Tux's lil' helper
Joined: 03 Jul 2005 Posts: 134 Location: Iceland
|
Posted: Sat Jul 30, 2005 4:45 pm Post subject: |
|
|
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 |
|
|
sheltchin n00b
Joined: 30 Jul 2005 Posts: 1
|
Posted: Sat Jul 30, 2005 5:40 pm Post subject: |
|
|
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 |
|
|
mopelola n00b
Joined: 24 Jul 2005 Posts: 27
|
Posted: Mon Aug 01, 2005 3:03 pm Post subject: |
|
|
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 |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Fri Aug 05, 2005 1:52 pm Post subject: Re: problem with Lilo |
|
|
hi and welcome
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 |
|
|
|