View previous topic :: View next topic |
Author |
Message |
TomV n00b
Joined: 11 Apr 2004 Posts: 3 Location: Czech Republic
|
Posted: Sun Apr 11, 2004 1:53 pm Post subject: Kernel panic : No init found. |
|
|
Hello,
yesterday I tried to install Gentoo on my old laptop (P2/233, 96MB). I've configured and compiled kernel as allways, with Gentoo-specific options suggested in the Handbook, but every boot attempt crashed on this :
Kernel panic : No init found. Try passing init= option to kernel.
I tried either 2.6 (2.6.5-mm1) and 2.4 (2.4.25-gentoo) kernel, both with the same result. I lost almost two days trying to fix it, but I was unable to find out, what did I forget... I'm not a Linux beginner, but this is the first time I see this message.
Thanks a lot for any idea... |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Sun Apr 11, 2004 1:56 pm Post subject: |
|
|
If you have used genkernel to compile your kernel, make sure that your bootloader has the init=/linuxrc statement, that root=/dev/ram0 and real_root points to your root partition.
If you haven't used genkernel, make sure that root points to your root partition.
Even better: tell us if you used genkernel or not and show us your bootloader configuration |
|
Back to top |
|
|
TomV n00b
Joined: 11 Apr 2004 Posts: 3 Location: Czech Republic
|
Posted: Sun Apr 11, 2004 2:41 pm Post subject: |
|
|
I haven't used genkernel, I installed it manually. Haven't discovered the advantage of genkernel yet...
So, the grub.conf file :
Code: |
# Boot automatically after 30 secs.
timeout 5
# By default, boot the first entry.
default 0
title Gentoo Linux 2.4
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 vga=789
initrd /boot/initrd.img
title Gentoo Linux 2.6
root (hd0,1)
kernel /boot/vmlinuz-2.6.5-mm1 root=/dev/hda2 vga=789
initrd /boot/initrd-2.6.5-mm1.img
|
The root partition is on hda2 (reiserfs), hda1 is swap.
This is the first time I installed Gentoo from Stage3, so I'm quite confused, because I don't know exactly, what has been installed with the Stage3 and what has not... So it's quite possible, that I forgot to install something... Or maybe not... I don't know... |
|
Back to top |
|
|
|
|
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
|
|