Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New kernel, kernel panic - not synching: No init found.
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
maserding
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 132

PostPosted: Fri Feb 15, 2008 8:06 pm    Post subject: New kernel, kernel panic - not synching: No init found. Reply with quote

Hello,

I have been running gentoo a long time, and usually the kernel upgrade is a breeze. I have to upgrade from 2.6.17.3 to 2.6.23.16 because of the vmsplice() problem.

I upgraded as normal, rebooted, and I get a panic, saying

Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 152k freed
Warning: unable to open an initial console
Kernel panic: No init found. Try passing init= option to kernel

I don't use initrd. So it isn't that. I think it might be that I use root=/dev/sda in my grub config. I never had a problem doing this before, sda has no partitions, I just formatted it directly. The reason I think this might be the problem though is I changed it to root=/dev/sde3 which is invalid and forced gentoo to list possible root= candidates. It would only list the harddrives that have partitions, and not my /dev/sda or /dev/sdb

My question is, does the kernel now require you boot from a partition? Or should root=/dev/sda work?
Back to top
View user's profile Send private message
sundialsvc4
Guru
Guru


Joined: 10 Nov 2005
Posts: 436

PostPosted: Sat Feb 16, 2008 12:37 am    Post subject: Reply with quote

I'd say that "something is wrong." I'd be hard-pressed to think that a partition was now required. Probably the best thing to do is to boot a stand-alone CD such as Knoppix, and see how the hard-drive is detected and how it is mounted.
Back to top
View user's profile Send private message
maserding
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 132

PostPosted: Sat Feb 16, 2008 1:39 am    Post subject: Reply with quote

sundialsvc4 wrote:
I'd say that "something is wrong." I'd be hard-pressed to think that a partition was now required. Probably the best thing to do is to boot a stand-alone CD such as Knoppix, and see how the hard-drive is detected and how it is mounted.


I can boot into the system just fine with the old kernel. It only won' t work with the new kernel.
Back to top
View user's profile Send private message
maserding
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2004
Posts: 132

PostPosted: Sun Feb 17, 2008 6:40 pm    Post subject: Reply with quote

I ended up just giving up and patching my old kernel for the vmsplice vulnerability.
Back to top
View user's profile Send private message
steves
n00b
n00b


Joined: 10 Jan 2005
Posts: 30

PostPosted: Sun Feb 17, 2008 8:41 pm    Post subject: Reply with quote

I had a similar problem with the new 2.6.24 kernel and a posting some time ago worked for me.

With the gentoo-sources as downloaded run "make defconfig" then "make menuconfig" or whatever you use normally to tune the kernel to your configuration. This worked for me. I didn't have time to figure out why.

Good luck

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