Hi,
On Sun, 29 Dec 2002, slash_axl_rose_upen wrote:
Hello All Well I am sad to write this from a win98 machine bcaz
Thats ok, even win98 is useful sometimes, for all its flaws ;)
of stupid command -> "dd if=111.bin of=/dev/hda2 bs=1440 count=1"
Operator error, 'dd' is one of the most useful commands!
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 /dev/hda2 (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 Admins (this time not going to crosspost..:) ) bye thnx
Try booting in rescue mode from Red Hat CDs and without mounting any partition from your harddisk, try fsck on the corrupted partition. See if that fixes it. Also before you try anything ___read man page from fsck___ So you know what you are doing. Man pages are available at www.tldp.org. Inode-tables are saved at periodic interval of blocks on the filesystem, this is described in fsck manual, hence will be useful in recovery. If this doesn't work try reconstruction of root partition table (only /dev/hda2) using gpart. There were couple of posts on list about this sometime back, refer to them.
Best luck,
Rajesh