我的外置HD出了问题(Ubuntu无法安装)

这是我从fdisk命令输出的:

sudo fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00043809 Device Boot Start End Blocks Id System /dev/sda1 * 2048 973105151 486551552 83 Linux /dev/sda2 973107198 976771071 1831937 5 Extended /dev/sda5 973107200 976771071 1831936 82 Linux swap / Solaris Disk /dev/sdb: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x5387f1b4 Device Boot Start End Blocks Id System /dev/sdb1 2048 625140399 312569176 7 HPFS/NTFS/exFAT 

根据我对Ubuntu的有限知识 – 我猜测我的外部设备正被我的操作系统检测到,但它没有安装。 背景故事:我试图使用我在外部使用AcetoneISO的ISO文件 – 然后一切都冻结了。 我强行关机/重启,然后当我重新启动时,我的HD无法安装。 它甚至没有给我一个错误信息,它只是没有工作。 这是怎么回事? 救命?

编辑:@Alaa:我刚刚要添加这些信息。 我刚尝试手动安装我的驱动器,这是输出:

 $ sudo mkdir /media/TOSHIBA_EXT $ sudo mount -t ntfs-3g /dev/sdb1 /media/TOSHIBA_EXT ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read $MFTMirr: Input/output error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (eg /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details. 

编辑2:这是尝试运行NTFSFix后的结果

 $ sudo ntfsfix /dev/sdb1 Mounting volume... ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read $MFTMirr: Input/output error FAILED Attempting to correct errors... Processing $MFT and $MFTMirr... Reading $MFT... OK Reading $MFTMirr... ntfs_attr_pread_i: ntfs_pread failed: Input/output error FAILED Failed to read $MFTMirr: Input/output error 

假设:当我强制重启时,我是否将驱动器短路了? 我知道这样做很糟糕 – 但我之前必须这样做,无论是在基于Windows的系统上还是从我开始使用Ubuntu开始 – 这是第一次出现问题。 就像对任何一个回答者一样,我的家人很快就会出去吃饭,所以我会在接下来的一个小时左右离开。 我猜我的下一个逻辑步骤是在基于Windows的环境中运行chkdsk,所以当我回到家时,我会尝试这样做。 根据结果​​,接下来我该怎么办?

编辑3:仍在等待我进入Windows系统的机会(我爸爸的笔记本电脑,他正在忙着使用它)。 我发现了命令fsck – 它显然大致相当于Linux环境中的chkdsk。 这是我得到的结果:

 $ sudo fsck /dev/sdb1 fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb1 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  

我使用e2fsck和-b 8193修饰符重复了fsck,得到了相同的结果。 这些信息对任何人都有帮助吗?

编辑:我无法在Windows环境中使用chkdsk来恢复磁盘。 我做了些什么 – 我不确定是什么。 但是,幸运的是,丢失的数据并非终结。 所以,我将继续自己研究这个问题,如果我想出一个解决方案,我将重新发布这个问题,以及所有相关信息。 谢谢大家的帮助,祝大家晚安! 🙂

fsck只大致相当于chkdisk。 据我所知,这对ntfs(因此ntfsfix)没有好处。 对于NTFS磁盘,最好从Windows执行此操作。 如果磁盘有一些不可恢复的Windows错误,我将指导您如何使用testdisk来a)修复fs b)如果其他所有方法都失败则恢复数据


好的,要恢复数据,请下载testdisk并使用它:

http://yz.mit.edu/wp/recovering-files-using-testdisk/

(有一个类似过程的截图 – 不完全是你想要的,但仍然有用: http : //www.cgsecurity.org/wiki/Undelete_files_from_NTFS_with_TestDisk )

您尝试恢复使用驱动器本身(而不是数据)之后,您可以尝试进行破坏性的坏块测试 – 这将擦除驱动器并映射出任何坏扇区。

https://wiki.archlinux.org/index.php/Badblocks

我有同样的问题,直到我记得这个外部硬盘已加密。

我所知道的唯一解决方案是在Windows 7或8,Pro或企业版中停用bitlocker(家庭版无法读取加密的硬盘)。

我希望您所做的所有检查都没有损坏硬盘中的数据。