View previous topic :: View next topic |
Author |
Message |
Lytse Flap n00b
Joined: 17 Apr 2005 Posts: 1
|
Posted: Sun Apr 17, 2005 9:52 pm Post subject: Kernel panic init (searched forum en Google) |
|
|
I barely dare to ask this is question. And before I started to post my question I searched the web and this forum for an answer. I know it's a common problem, but her I go.
And I want to complete my transformation from SuSE to gentoo.
This is the problem.
(Some people can dream this.)
Code: |
VFS: Mounted root (ext2 filesystem) readonly
Freeing unused kernel memory: 196k freed
Warning: unable to open an initial console
Kernel panic - not syncing: No init found. Try passing init= option kernel.
|
I use a Genkernel and ext3 is installed in the kernel
This is my lilo.conf
Code: |
boot=/dev/hda
image = /boot/kernel-2.6.11-gentoo-r5
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8129 real_root=/dev/hda7"
initrd=/boot/initrd-2.6.11-gentoo-r5
|
fdisk -l output:
Code: |
image = /boot/kernel-2.6.11-gentoo-r5
label=gentoo
read-only
root=/dev/ram0
append="init=/linuxrc ramdisk=8129 real_root=/dev/hda7"
initrd=/boot/initrd-2.6.11-gentoo-r5
|
ls initrd*
Code: | initrd-2.6.11-gentoo-r5 |
fstab
Code: |
/dev/hda5 /boot ext2 defaults,noatime 1 2
/dev/hda7 / ext3 noatime 0 1
/dev/hda6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
|
Is there a special key-word I can search for? I like to solve my own problems
Google, lilo man, install manual and forum have been searched for an answer.
I think that I made a stupid mistake and I know it's very bad to start with a request on a forum. |
|
Back to top |
|
|
wjholden l33t
Joined: 01 Mar 2004 Posts: 826 Location: Augusta, GA
|
Posted: Sun Apr 17, 2005 10:27 pm Post subject: |
|
|
Make sure the name of your kernel is spelled consistently everywhere. Generally this kind of error happens when the system simply cannot find the kernel you told it to boot. |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Mon Apr 18, 2005 7:28 am Post subject: |
|
|
Curiously, I had that exact same error.
After booting up the install CD and mounting the root filesystem, I found it was empty!
It was caused by me doing a stage 1 install, having mounted all my file systems under /mnt/gentoo except I forgot to mount my root partition under /mnt/gentoo FIRST
So, I ended up building everything into the RAM disk, which disappeared on re-boot!
Doh! _________________ ...Lyall |
|
Back to top |
|
|
|