cherring wrote:
Yeah well the crash on 56 has destroyed my node , absolutely screwed it, it single user mode I got this:
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 204k freed
INIT: version 2.86 booting
INIT: cannot execute "/etc/init.d/rcS"
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.
Give root password for maintenance
(or type Control-D to continue):
(none) ~ # w
Error: /proc must be mounted
To mount /proc at boot you need an /etc/fstab line like:
proc /proc proc defaults
In the meantime, mount proc /proc -t proc
(none) ~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 2233171 1281262 951909 58% /
sysfs 2233171 1281262 951909 58% /sys
udev 2233171 1281262 951909 58% /dev
devpts 2233171 1281262 951909 58% /dev/pts
/dev/hda3 2233171 1281262 951909 58% /home
none 2233171 1281262 951909 58% /dev/shm
df is going to show the contents of /etc/mtab, which, at this point isn't valid.
cherring wrote:
(none) ~ # fdisk /dev/hda1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/hda1: 2361 MB, 2361393152 bytes
255 heads, 63 sectors/track, 287 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): q
hda1 won't have a partition, so that makes sense, too.
cherring wrote:
(none) ~ # cd /home
(none) home # ls
(none) home #
/home isn't mounted yet, so that makes sense that the mountpoint is empty.
I'm almost 100% certain that the destruction was limited to your /etc/inittab and /etc/fstab files. If you can repair those, you'll be back in business...
-Chris