我想我忘记正确弹出我的外部硬盘了。现在它无法安装

我想我忘记正确弹出我的外部硬盘了。现在它无法安装

我上面有十年的照片。我正在使用 2020 版的 Unbuntu Linux。

我找到了一些线程几年前就解决了这个问题。这些方法在 2020 年仍然适用吗?

另外,这可能是 Unbuntu 20.04 特有的问题。自从我换了之后,它就有很多错误。我把它插在 Windows 笔记本电脑/平板电脑混合体上,一切似乎都运行良好。我可以访问文件并查看我的照片。但它确实没有足够的空间来存储数据。

在 Windows 上运行 chkdsk 能修复 Linux 的问题吗?我的数据有危险吗?我应该尽快将其从硬盘上删除吗?

这是我收到的错误消息:

在此处输入图片描述

当我在插入驱动器的情况下运行 fdisk 时,我收到此消息。

~$ sudo fdisk -l
Disk /dev/loop0: 156.19 MiB, 163774464 bytes, 319872 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 /dev/loop1: 154.26 MiB, 161751040 bytes, 315920 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 /dev/loop2: 93.94 MiB, 98484224 bytes, 192352 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 /dev/loop3: 54.97 MiB, 57614336 bytes, 112528 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 /dev/loop4: 54.97 MiB, 57618432 bytes, 112536 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 /dev/loop5: 175.88 MiB, 184406016 bytes, 360168 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 /dev/loop6: 160.16 MiB, 167931904 bytes, 327992 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 /dev/loop7: 240.82 MiB, 252493824 bytes, 493152 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 /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM024 HN-M
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C7E92B78-4410-4AB0-A486-4FD72E7254D2

Device       Start        End    Sectors  Size Type
/dev/sda1     2048    1050623    1048576  512M EFI System
/dev/sda2  1050624 1953523711 1952473088  931G Linux filesystem


Disk /dev/loop8: 255.58 MiB, 267980800 bytes, 523400 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 /dev/loop9: 132 KiB, 135168 bytes, 264 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 /dev/loop10: 62.9 MiB, 65105920 bytes, 127160 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 /dev/loop11: 583.37 MiB, 611700736 bytes, 1194728 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 /dev/loop12: 49.8 MiB, 52203520 bytes, 101960 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 /dev/loop13: 49.8 MiB, 52203520 bytes, 101960 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 /dev/loop14: 27.9 MiB, 28405760 bytes, 55480 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 /dev/sdb: 931.53 GiB, 1000204885504 bytes, 1953525167 sectors
Disk model: Ultra Slim PL   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1cdd09cc

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1  *     2048 1953525166 1953523119 931.5G  7 HPFS/NTFS/exFAT}

以下是跑步dmesg前后的情况:

在此处输入图片描述

在此处输入图片描述

答案1

你干嘛这么着急?

您的驱动器被错误卸载并且丢失了它的分配图。

只需打开“应用程序”->“搜索磁盘”

然后使用磁盘和修复检查您的驱动器。您使用 chkdsk windows 命令做了类似的事情。

答案2

我通过将驱动器插入 Windows 设备并运行来修复此问题:

chkdsk D: /f

我还删除了 20.04。事实证明这不是问题,但它有很多错误,而且由于 Ubuntu 社区中没有人能够帮助我,所以我决定不使用它。

相关内容