[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel panic. No init found



At 22:27 19/07/02 +0100, Oliver Elphick wrote:
If you cannot boot, how do you know these exist?  Please tell us exactly
what steps you are taking to see what is on your hard disk.  (I wonder
if you are really looking at the right device?)

I use a Debian CD to boot to a command prompt, then

# mount /dev/hda1 /mnt

# ls -l /mnt/bin/bash
-rwxr-xr-x  1 root   root  1458282 Mar 16 00:03 /mnt/bin/bash

# ls -l /mnt/bin/sh
lrwxrwxrwx 1  root  root           4  Jun  6 09:29  /mnt/bin/sh  -> bash

# ls -l /mnt/sbin/init
-rwxr-xr-x  1  root  root      28040 Jan 25 13:05  /mnt/sbin/init

# more /mnt/etc/inittab
id:2:initdefault:
si::sysinit:/etc/init.d/rcS
~~:S:wait:/sbin/sulogin
l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
z6:6:respawn:/sbin/sulogin
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

I get no such file or directory for /mnt/bin/init and /mnt/etc/init.

# ls -l /mnt shows my system as I'd expect. It appears intact. Maybe there is a subtle change in /etc/inittab-could someone please post theirs so I can compare it? (I'm assuming this is the relevant file)

Please show the output of mount.

/dev/ram0 on / type ext2 (rw)
/proc on /proc type proc (rw)
/dev/hda1 on /mnt type ext2 (rw)

Thank you for helping Oliver.

Tim


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: