Kernel panic / No init found

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
jaytee
Posts: 5
Joined: 2005-08-11 10:21
 

Kernel panic / No init found

Post by jaytee »

Folgende Situation:
Warning: unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel.

"LILO 22.3.2 boot: Stratokernel init=/bin/sh"
Hilft mir auch nicht weiter...

Weiteres:

e2fsck -vp /dev/hda3
/dev/hda3 was not cleanly unmounted, check forced.

191547 inodes used (1%)
3142 non-contiguous inodes (1.6%)
# of inodes with ind/dind/tind blocks: 22388/1227/6
7446802 blocks used (50%)
1 bad blocks
0 large files

165518 regular files
11526 directories
1801 character device files
8997 block device files
14 fifos
423 links
3657 symbolic links (3657 fast symbolic links)
25 sockets
--------
191961 files

# mount /dev/hda3 /tmp
ext3: No journal on filesystem on ide0(3,3)
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw)
/proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/hda3 on /tmp type ext2 (rw)
#fdisk -l -u /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 7476 cylinders
Units = sectors of 1 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 63 112454 56196 83 Linux
/dev/hda2 112455 1140614 514080 83 Linux
/dev/hda3 1140615 120101939 59480662+ 83 Linux

Irgendwelche Tipps zur weiteren Vorgehensweise, möglichst ohne Datenverlust ?

Gruss von der Weser

JT
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Kernel panic / No init found

Post by captaincrunch »

Gegenfrage: wie kam es denn zu dieser Situation? Aus heiterem Himmel, oder hzast du selbst ein Kernelupdate gefahren?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
jaytee
Posts: 5
Joined: 2005-08-11 10:21
 

Re: Kernel panic / No init found

Post by jaytee »

CaptainCrunch wrote:Gegenfrage: wie kam es denn zu dieser Situation? Aus heiterem Himmel, oder hzast du selbst ein Kernelupdate gefahren?
Tja, einfach mal fsck laufen lassen, zig Fehler behoben, versucht neu zu booten...

JT
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Kernel panic / No init found

Post by captaincrunch »

fsck im gemounteten Zustand?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
jaytee
Posts: 5
Joined: 2005-08-11 10:21
 

Re: Kernel panic / No init found

Post by jaytee »

CaptainCrunch wrote:fsck im gemounteten Zustand?
Ja...ist halt so passiert...

JT
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Kernel panic / No init found

Post by captaincrunch »

Dann hoffe ich für dich, dass du ein aktuelles Backup hast. Und mal ganz nebenbei: bei der Warnung, die ein fsck ausspuckt, wenn es ein gemountetes FS checken soll, passiert sowas im Normalfall nicht "einfach so"... ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
jaytee
Posts: 5
Joined: 2005-08-11 10:21
 

Re: Kernel panic / No init found

Post by jaytee »

Aus Fehlern lernt man - leider !

Wenn ich hda3 mounte, was jetzt wenigstens wieder geht, bring ein ls folgendes:
#ls -l
drwxr-xr-x 551 root root 53248 Aug 7 16:21 lost+found

Ist da noch was zu retten ?

cy JT
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Kernel panic / No init found

Post by captaincrunch »

Ja, sofern du ein funktionierendes Backup hast... :?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc