file system problem
I have a partition of size 18 GB on my FC4 system.
I accidentally overwrite this partition with dd command by a file of size 2 MB.
Now I am unable to mount the partition.
How can I recover my superblock from alternative super block.
Or please suggest any open source data recovery tools for ext3 file system.
Please help me.
I looked up dd <never came across that one b4> and it says "Convert and copy a file" with tons of cryptic switches etc...
How converting and/or copying a 2MB file could wreck an 18MB partition is a mystery ... Unless(!)... ah but lets not guess.
First - in looking at fdisk man page i see:
BE EXTREMELY CAREFUL if you use the dd command, since a small typo can make all of the data on your disk useless.
This sounds ominous ...
I would try:
See if you can spot your partition ...
Let us know ...
The partition is being listed when i fdisk -l.
/dev/hdc6 3266 9733 51954178+ 83 Linux
But the problem is i am unable to mount the partition.
# mount /dev/hdc6
mount: wrong fs type, bad option, bad superblock on /dev/hdc6,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I think super block might be corrupted.
Thanks & Regards,
use 'fsck' command to check and fix filesystem.