Find the answer to your Linux question:
Results 1 to 6 of 6
Bad superblock image...for 1 partition I havent read the rest of teh threads..but then I dont have that much time.... The problem started when I ingenuously wrote a file on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Location
    Sydney
    Posts
    9

    Bad superblock image...1 partition overwritten


    Bad superblock image...for 1 partition
    I havent read the rest of teh threads..but then I dont have that much time....

    The problem started when I ingenuously wrote a file on /dev/hda3 directly-taht replaced teh superblock I guess (I hope nothing more was overwritten)
    I tried e2fsck -b blah /dev/hda3 ...finally got the filesystem check running--but it seems it will go on for ages: its currently checking inode 40000+ ---WTF...
    Is there any other way I could recover the filesystem...for the moment I have removed the entry for /dev/hda3 from fstab....
    I am pissed off at myself for being such a moron....

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the output of fdisk -l command here. Does fdisk report wrong cylinder/boundary of any partition?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Location
    Sydney
    Posts
    9
    Hi Casper,
    thanks for replying.....fdisk -l displays this
    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 522 4192933+ 83 Linux
    /dev/hda2 523 783 2096482+ 82 Linux swap
    /dev/hda3 784 24321 189068985 83 Linux

    **********
    e2fsck completed...now the major problem being all files are placed in lost+found..and are numbered...I guess I would need to manually move them around..
    [by the time this is resolved...I will be an uncle]

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2007
    Location
    Sydney
    Posts
    9
    Thanks for replying Casper...
    Finally got it working...luckily all the files were intact in lost+found....
    I am falling in Love with linux now...

  6. #5
    Just Joined!
    Join Date
    Jul 2007
    Location
    Sydney
    Posts
    9
    Just a small question...
    that partition states it is now ext2:it was ext3 before.....would that matter

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    If everything is working fine then nothing to worry.
    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
  •