Page 1 of 1

Kernel panic / No init found

Posted: 2005-08-11 11:02
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

Re: Kernel panic / No init found

Posted: 2005-08-11 11:15
by captaincrunch
Gegenfrage: wie kam es denn zu dieser Situation? Aus heiterem Himmel, oder hzast du selbst ein Kernelupdate gefahren?

Re: Kernel panic / No init found

Posted: 2005-08-11 11:28
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

Re: Kernel panic / No init found

Posted: 2005-08-11 11:34
by captaincrunch
fsck im gemounteten Zustand?

Re: Kernel panic / No init found

Posted: 2005-08-11 11:44
by jaytee
CaptainCrunch wrote:fsck im gemounteten Zustand?
Ja...ist halt so passiert...

JT

Re: Kernel panic / No init found

Posted: 2005-08-11 11:50
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"... ;)

Re: Kernel panic / No init found

Posted: 2005-08-11 12:16
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

Re: Kernel panic / No init found

Posted: 2005-08-11 12:39
by captaincrunch
Ja, sofern du ein funktionierendes Backup hast... :?