View previous topic :: View next topic |
Author |
Message |
greenbean n00b
Joined: 08 Jan 2004 Posts: 38
|
Posted: Wed Mar 31, 2004 3:32 pm Post subject: Kernel panic: No init found |
|
|
Help! I reinstalled gentoo recently after a small issue with trying to resize my reiserfs. Now, when I boot, I get this message:
Kernel panic: No init found. Try passing init= option to kernel.
I used the stage2 and compiled the kernel. What's up?
fstab:
/dev/hda2 /boot reiserfs notail 1 2
/dev/hda3 / reiserfs nottail,noatime 0 1
/dev/hda5 none swap sw 0 0
grub.conf:
default 0
timeout 15
splashimage=(hd0,1)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.22
root (hd0,1)
kernel (hd0,1)/kernel-2.4.22 root=/dev/hda2
title=WinME
root(hd0,0)
chainloader +1 |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Wed Mar 31, 2004 3:49 pm Post subject: |
|
|
There is no init in your boot partition
kernel (hd0,1)/kernel-2.4.22 root=/dev/hda2 becomes
Code: |
kernel (hd0,1)/kernel-2.4.22 root=/dev/hda3
|
|
|
Back to top |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Wed Mar 31, 2004 3:53 pm Post subject: |
|
|
Did you use genkernel? |
|
Back to top |
|
|
greenbean n00b
Joined: 08 Jan 2004 Posts: 38
|
Posted: Wed Mar 31, 2004 4:10 pm Post subject: |
|
|
Changing the grub.conf as said above allowed the boot process to continue... however, now... the machine hangs at this point:
* Starting pcmcia
cardmgr[905] watching 2 sockets
cardmgr[905] starting, version is 3.2.4
hmmm... this may be another post... I must have messed something else up, because this didn't happen the last time I installed gentoo. |
|
Back to top |
|
|
|