Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.28 Failed to execute /sbin/init ... problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
corvax1
n00b
n00b


Joined: 07 Jan 2009
Posts: 3

PostPosted: Wed Jan 07, 2009 7:41 pm    Post subject: Kernel 2.6.28 Failed to execute /sbin/init ... problem Reply with quote

During boot with kernel 2.6.28 i got message:

RaiserFS: sda2: found ...
RaiserFS: sda2: useing ...
RaiserFS: sda2: journal ...
RaiserFS: sda2: checking ...
RaiserFS: sda2: Using r5 hash to sort names
VFS: Mounted root ( reiserfs filesystem ) readonly.
Freeing unused kernel memory: 420k freed
Failed to execute /sbin/init Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel

It looks like mount rootfs on /dev/sda2 is fine but after that kernel cant find or cant execute /sbin/init ( or /bin/bash ) and defaults init too.

When im useing kernel 2.6.26 with the same kernel config everythink works fine. My boot parametrs are: root=/dev/sda2 init=/sbin/init and im not useing initrd file, no raid, no lvm, all needed modules are compiled into kernel. I got static devices in /dev ( ttys, console, null, sd ... ). Ive been try diffrent boot parametrs but no luck ( rootdelay, rootwait, rw, ro, init=/bin/bash ).

Any suggestions?
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Jan 08, 2009 1:30 am    Post subject: Reply with quote

Do old kernels work?

try setting init=/bin/sh in your kernel command line...
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
Hibbelharry
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 88
Location: Bremen, Northern Germany

PostPosted: Thu Jan 08, 2009 2:32 am    Post subject: Reply with quote

See whether Rootplug Support found in the Security Options is turned on. When it's turned on disable this. Caused me major headaches for a while ;)
Back to top
View user's profile Send private message
corvax1
n00b
n00b


Joined: 07 Jan 2009
Posts: 3

PostPosted: Thu Jan 08, 2009 8:11 am    Post subject: Reply with quote

Hibbelharry wrote:
See whether Rootplug Support found in the Security Options is turned on. When it's turned on disable this. Caused me major headaches for a while ;)


Removing rootplug support from security options resolved my problem. thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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