Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install worked great, then dies with kernel panic
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
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Wed Nov 12, 2014 9:25 pm    Post subject: New install worked great, then dies with kernel panic Reply with quote

Starting init: /bin/sh exists but couldn't execute it (error-8)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel.

In my grub config, I have root=/dev/sda2 init=/usr/lib/systemd/systemd

I am confused. I chrooted in and re-emerged glibc and systemd as was suggested in another thread, but this hasn't solved the problem. I also tried compiling a new kernel but this did not solve the problem.
Back to top
View user's profile Send private message
Selenia
n00b
n00b


Joined: 12 Nov 2014
Posts: 42

PostPosted: Thu Nov 13, 2014 1:43 am    Post subject: Reply with quote

I am just getting a running system myself. This helped me http://wiki.gentoo.org/wiki/Systemd Try making the symlinks and other steps. Then chroot in and regenerate initrd. I would think it would work then.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1364
Location: Fayetteville, NC, USA

PostPosted: Thu Nov 13, 2014 3:09 am    Post subject: Reply with quote

You don't need systemd to boot and it should not be the cause or solution to your problem. I am actually here with Gentoo now because systemd is being forced upon many other distros and it is a very bad thing, but I digress.

I am a seasoned Debian user (since 1999) but have only recently moved to Gentoo. I am by no means a Gentoo professional. However, what that error tells me is that the shell executable exsists, but it is not marked as executable. In other words, it may be 644 instead of 755. What filesystem is it installed on? Do you have a separate /usr or /var? Do you have a initramfs? I am sure the pros will be along to help soon, but those would be good pieces of information to start with.
Back to top
View user's profile Send private message
dataking
Apprentice
Apprentice


Joined: 20 Apr 2005
Posts: 251

PostPosted: Thu Nov 13, 2014 5:48 pm    Post subject: Reply with quote

The_Great_Sephiroth wrote:
Do you have a initramfs?

This is exactly what I was wondering.
_________________
-= the D@7@k|n& =-
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Sat Nov 15, 2014 2:52 am    Post subject: Reply with quote

No initramfs, I don't recall setting one up. No separate /var or /usr partition either, all basic vanilla.

I did double check the symlinks, I can chroot in but not really sure what to do from there, I've never had this issue before on any other machine. :(
Back to top
View user's profile Send private message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Sun Nov 16, 2014 1:20 am    Post subject: Reply with quote

Proof that you can use gentoo for twelve years and still be a complete idiot

I didn't have 64 bit checked in the newer kernel. I recompiled it to try and fix a sound issue.

What's interesting is with a Haswell 6 core i7 processor, is that it doesn't check the 64 bit kernel box by default.

Ah well. I'm still an idiot. SOLVED! 8) :oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops:
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