Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic init (searched forum en Google)
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
Lytse Flap
n00b
n00b


Joined: 17 Apr 2005
Posts: 1

PostPosted: Sun Apr 17, 2005 9:52 pm    Post subject: Kernel panic init (searched forum en Google) Reply with quote

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
View user's profile Send private message
wjholden
l33t
l33t


Joined: 01 Mar 2004
Posts: 826
Location: Augusta, GA

PostPosted: Sun Apr 17, 2005 10:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1579
Location: Adelaide/Australia

PostPosted: Mon Apr 18, 2005 7:28 am    Post subject: Reply with quote

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