Gentoo Archives: gentoo-user

From: Jonathan Callen <abcd@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: kernel panic -- finding proper config diff
Date: Wed, 21 Oct 2009 19:07:30
Message-Id: 4ADF5BE6.2070506@gentoo.org
In Reply to: [gentoo-user] kernel panic -- finding proper config diff by Maxim Wexler
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Maxim Wexler wrote:
5 > VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
6 > Freeing unused kernel memory: 276k freed
7 > Warning: unable to open an initial console
8 > Kernel panic - not syncing. No init found. Try passing init=option to kernel.
9
10 To me, that looks like /dev/sda1 (which is what the kernel is using as
11 root=) doesn't contain any of the following:
12 /sbin/init
13 /etc/init
14 /bin/init
15 /bin/sh
16
17 Noting that the kernel output implied that it was an ext2 filesystem,
18 that looks like it mounted your /boot as /, which fails as there isn't
19 any init available on it.
20
21 PS:
22 In case you were wondering how I knew it was /dev/sda1, that's what
23 "device 8:1" means: the block device with major number 8 and minor
24 number 1, which happens to be the major:minor assigned to /dev/sda1.
25
26 - --
27 Jonathan
28 -----BEGIN PGP SIGNATURE-----
29 Version: GnuPG v2.0.11 (GNU/Linux)
30 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
31
32 iEYEARECAAYFAkrfW+UACgkQOypDUo0oQOo/NgCgq1C7LyfDRiEAFRiuqq9Me+5Q
33 EyMAnjvpfvmfcFFlczPJb7SruygZF/lN
34 =KMh5
35 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Re: kernel panic -- finding proper config diff Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Re: kernel panic -- finding proper config diff Maxim Wexler <maxim.wexler@×××××.com>