Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Yesterday there was a shortage of electricity in my office and as a
consequence my linux didn't shutdown properly. Today when trying to
switch on the machine, linux complained about some problems with /dev/
I have tried e2fsck -p /dev/hdb6 but the system returned "could this
be a zero-length partition?" . fdisk /dev/hdb showed the partition
as it supposed to be. I have also tried e2fsck -b xxxx to recover the
superblocks but to no avail. Even dd if=/dev/hdb6 of=/usr.img didn't work. Same error msg.
I have deleted the partition and re-created with the same size. This time I managed to get e2fsck to say that the (partition) system couldn't be recovered since blocks 0 to 3 were damaged, dd is working very very slow right now.
testdisk shows the partition and the superblocks but option p doesn't list any files (no file structure).
Is there anything else I can do to get it back to normal? I just need to copy a few files from it.