Suddenly i find one of my hard disk partition (/dev/sda5) being displayed as ‘Unknown drive’. Im unable to mount / retrieve the data on this drive.Im uable edit the partition either. How do i retrieve / store the drive?
I executed the following
demo@demo-laptop:~$ sudo fsck -c /dev/sda5
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda5
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>
demo@demo-laptop:~$ sudo e2fsck -b 8193 /dev/sda5
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Bad magic number in super-block while trying to open /dev/sda5
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>
Kindly help me out. Thanks in advance.
Be careful. Check whether the partition is an extended partition or a swap partition. Try
sudo fdisk -l, which should tell you about all the partitions on the system.