Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    file system problem

    Hi everybody,

    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.

    Thanks Inadvance,

  2. #2
    Linux User twoHats's Avatar
    Join Date
    Jan 2005
    NH, USA


    Hi Mummaneni...

    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:
    fdisk -l
    See if you can spot your partition ...

    Let us know ...
    - Clouds don't crash - Bertrand Meyer

    registered Linux user 393557

    finally - hw to brag about - but next year it will look pitifully quaint:
    Athlon64 X2 3800 - 1G PC3200 - 250G SATA - ati radeon x300
    circa 2006

  3. #3

    The partition is being listed when i fdisk -l.
    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,

  4. $spacer_open
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    use 'fsck' command to check and fix filesystem.

    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts