Results 1 to 10 of 11

Thread: How to fix an Unknown partition

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Beans
    6

    How to fix an Unknown partition

    Hi,
    yesterday, I executed gparted and resized a partition. (108G to about 170G) But when it did 80% of the job, it just closed! I opened up gparted again, but there was an "Unknown" partition. e2fsck gives me:

    Code:
     > sudo e2fsck /dev/sda1
    e2fsck 1.42 (29-Nov-2011)
    e2fsck: Superblock invalid, trying backup blocks...
    e2fsck: Bad magic number in super-block while trying to open /dev/sda1
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    How can I fix it?
    Last edited by armb78; February 4th, 2013 at 06:01 PM. Reason: typing mistake

  2. #2
    Join Date
    Feb 2013
    Beans
    6

    Re: How to fix an Unknown partition

    Anyone?

  3. #3
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to fix an Unknown partition

    I don't see what grub has to do with this, do you mean gparted?
    Cheesemill

  4. #4
    Join Date
    Feb 2013
    Beans
    6

    Re: How to fix an Unknown partition

    Oh! Yes, I mean gparted!

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to fix an Unknown partition

    The easiest method of fixing this is to start from scratch.

    Wipe the drive, create and format whatever partitions you want and then restore all of your data from a backup.
    Last edited by Cheesemill; February 4th, 2013 at 06:22 PM.
    Cheesemill

  6. #6
    Join Date
    Feb 2013
    Beans
    6

    Re: How to fix an Unknown partition

    Unfortunately, I can't. There are about 80G files in it and I really need them. They're not for me.
    I know that the superblock has been lost, and I know that if I find it, I can probably fix the partition. But I can't.

Tags for this Thread

Bookmarks

Posting Permissions

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