开发者

Ubuntu: Suddenly i find one of my hard disk partition (/dev/sda5) being displayed as 'Unknown drive' [closed]

开发者 https://www.devze.com 2023-02-11 02:19 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号