- From: mssnlayam@xxxxxxxxxxxxxxx (Suriya Narayanan M S)
- Date: Mon, 30 Dec 2002 20:57:10 +0530
On Monday 30 December 2002 18:37, you wrote:
Well I am sad to write this from a win98 machine bcaz
of stupid command -> "dd if=111.bin of=/dev/hda2
from root on RH 7.1
Â Actually /dev/hda2 was where / got mounted
everytime..but now this
command has caused inode table to get corrupted on
(may be bcaz i replaced usual bs=512 to bs=1440 and so
its written to
unwanted space cauing damage to i-node tables)..
now i can't go beyond kernel panic screen on RH 7.1
So Can i get back my data in /dev/hda2 ???How?
Pls mail me personally and forward this to known Sys
I am assuming that the filesystem is ext2 or ext3, and
access is available to a computer running GNU and
the harddisk can be fitted there
If the dd command was invoked exactly as above, then
only 1440 bytes are lost. The first 512 bytes form the boot
sector. So only (1440 - 512) 928 bytes are lost.
The ext2 filesystem maintains several alternative copies
of the superblock. Run the e2fsck program by specifying
an alternative superblock.
Another solution would be to use dd again. Copy an
alternate superblock to the original superblock.
(Please back up the partition, and read the ext2 filesystem
format before doing this)
I am mailing this to the group so that someone might correct
in case I am wrong.
Suriya Narayanan M S
Guru Brahma Gurur Vishnu
Gurur Dhevo Maheshwaraha
Gurur Saakshaath Parabramha
Thasmai Shree Gurave Namaha
Other related posts: