One of my machine stops from running. I forgot the error on the screen (it was
about the hard disk). I just quickly restarted the machine. However,
when booting up I don't see the grub menu. Instead, it lead me directly to grub
shell (if that what is was called). I see grub> on the screen. I tried
to press tab twice to check available commands but it was very limited. It
seems the OS or the kernel was not booted at all.
I remove the hard disk, put it to an external enclosure and tried to mount it
to one of my Linux Machine. When I do "mount /dev/sda1 /mnt", it says
"mount: you must specify the filesystem type" so I command "mount -t ext3
/dev/sda1 /mnt", it says:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
There's no error in dmesg but when I check syslog, it has the ff:
Jul 20 09:08:03 PHP kernel: hfs: unable to find HFS+ superblock
Jul 20 09:18:04 PHP kernel: VFS: Can't find ext3 filesystem on dev sda1.
I usually install ext3 as my file system so I'm sure it was ext3. If I'm not
mistaken, hfs is for MAC but this is a Linux Machine.
I remove the hard drive and put it on a enclosure. I mount it to another linux
machine and try to run e2fsck. There's a thousand of fix happen. It
took about almost two hours since this is a 160GB hard drive.
Now, there's no error when mounting the hard drive. The only problem is some of
the partition has no data after I mount it though when I ran df it is
not empty. Affected partition is / and /var. My /usr is ok and accessible. When
I check the lost+found dir of the affected dir, there is a lot of
files there usually made of numbers.
This machine has no public ip that's why I'm not really thinking of a hacking
scenario though still a possibility.
Could we say that this is a hard drive issue? There are some dir on lost+found
made of numbers and when I tried to change to that dir, it just lead me
to / of my current machine.
Any ideas?
TIA
Nelson
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph