You are not logged in.

#1 2011-03-30 22:39:21

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

[Solved] No initrd means kernel panic

Anyone got any idea why booting without initrd fails even when there are no modules to be loaded (everything is built in to the kernel)? Everything goes fine if I make an initrd, but without one I get:

[ 6.xxxxxx] VFS: Cannot open root device "disk/by-uuid/e5426fc4-afde-4c1d-8ba0-da72b3c377e3" or unknown-block(0,0)
[ 6.xxxxxx] Please append a correct "root=" boot option; here are the available partitions:
[ 6.xxxxxx] 0800      117220824 sda  driver: sd
[ 6.xxxxxx]   0801         256000 sda1 00000000-0000-0000-0000-00000000sda1
[ 6.xxxxxx]   0802      116963800 sda2 00000000-0000-0000-0000-00000000sda2
[ 6.xxxxxx] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 6.xxxxxx] panic occurred, switching back to text console

Last edited by neurolysis (2011-03-31 17:17:03)

Offline

#2 2011-03-30 22:46:19

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [Solved] No initrd means kernel panic

IHMO, I think Arch isn't meant to be used without an initrd.

man mkinitcpio

Offline

#3 2011-03-31 07:25:03

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [Solved] No initrd means kernel panic

[ 6.xxxxxx] VFS: Cannot open root device "disk/by-uuid/e5426fc4-afde-4c1d-8ba0-da72b3c377e3" or unknown-block(0,0)

Is there a missing / in the beginning of
device "disk/by-uuid/e5426fc4-afde-4c1d-8ba0-da72b3c377e3"
? Shouldn't it say /dev/disk/...?

Kernel26-eee-monolithic works with this:

title Kernel26-eee-mono
root (hdX,Y)
kernel /boot/vmlinuz26-eee root=/dev/sda1 ro rootwait i915.modeset=1

Last edited by Cdh (2011-03-31 07:26:25)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2011-03-31 15:25:56

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solved] No initrd means kernel panic

The initrd contains sata controller + filesystem modules along with other modules for your hardware. Since you have excluded the initrd image the kernel can't find these modules and therefore can mount / and run /sbin/init.


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2011-03-31 15:28:52

neurolysis
Member
Registered: 2011-02-23
Posts: 112
Website

Re: [Solved] No initrd means kernel panic

Turns out that the actual by-uuid dev mechanism is contained within the initrd, just using /dev/sda2 works fine smile

@JokerBoy - For the default kernel yes, but I shouldn't need it for my own custom one with non-modular hardware support.
@Cdh - Seems normal, it's stripped by default for some reason.
@Pyther - Like I said, they are built into the kernel. Works now with UUID changed to actual device name.

Thanks anyway! smile

Offline

#6 2011-03-31 15:39:57

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [Solved] No initrd means kernel panic

Ahh fail on my reading comprehension smile

BTW please mark the thread as sloved


Website - Blog - arch-home
Arch User since March 2005

Offline

Board footer

Powered by FluxBB