硬盘无法挂载

帮助中心

运行sudo fdisk -lu返回我要挂载的硬盘

Disk /dev/sdb

但是当我尝试从KDE分区管理器挂载它时,当我尝试设置路径(尝试显示隐藏文件夹,仅显示3)并通过konsole使用时sudo mount /dev/sdb /mnt它没有显示某些目录,我得到了

mount: wrong fs type, bad option, bad superblock on /dev/sdb,
   missing codepage or helper program, or other error

   In some cases useful info is found in syslog - try
   dmesg | tail or so.

所以我尝试跑步sudo e2fsck -f -b 32768 -y /dev/sdb并获得

e2fsck 1.42.13 (17-May-2015)
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
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>
 or
    e2fsck -b 32768 <device>

当我尝试这些变体时,会收到相同的消息。如何安装此硬盘驱动器?硬盘的文件类型是“ inode / blockdevice”,我已经为其创建了一个分区,但是没有路径就无法保存。

另外,为什么会说2015年5月17日?

非常感谢。

在此处输入图片说明

编辑:能够通过单击“查找范围”旁边的栏来找到/ dev文件夹,但是该分区甚至不会显示为隐藏文件,但是如果我在“目录:”栏中键入它,它的确会显示出来,但是不可选择(“选择”为灰色)。

在此处输入图片说明

如预期的那样,Gparted没有差异。我确定它是文件类型错误。

在此处输入图片说明

在gparted中重新分区硬盘驱动器:

在此处输入图片说明

在应用设置后,它似乎可以正常工作,但是打开文件管理器后,左侧的“设备”列表消失了!我的ssd甚至没有列出(就像以前一样),“设备”标题不存在!

特伦斯

New hard drives need to have a new partition created on them so that they can be used. I recommend using gparted. To install the program, type in the following from a terminal window:

sudo apt install gparted

Then gparted needs to be ran with elevated permissions:

sudo gparted

After your drive is configured, now you need to mount it somewhere. If you want it accessible, you need to create a mount point on your computer for it first. From the terminal window type in the following to create the mount point:

sudo mkdir -p /media/datadrive

we are just going to use datadrive as the example for the mount point.

Next, we need to get the UUID of the drive so we can make the mount come up the same every boot.

sudo blkid

Here is an example:

terrance@terrance-ubuntu:~$ sudo blkid
/dev/sde1: UUID="9e4539a5-7229-424e-aa91-60ab1417e6f1" TYPE="ext4" PARTUUID="00090c7c-01"

使用上面示例中的UUID号,现在我们将其添加到/etc/fstab文件中。使用您喜欢的编辑器,然后将以下行添加到/etc/fstab文件中。注意:该文件归root拥有,因此需要使用提升的权限进行编辑。

sudo nano /etc/fstab

然后添加到底部:

UUID=9e4539a5-7229-424e-aa91-60ab1417e6f1 /media/datadrive ext4 default 0 0

现在,您可以通过键入以下内容来激活安装,而无需重新引导:

sudo mount -a

现在,每次重新启动时,新驱动器将每次都安装到/media/datadrive安装点。

希望这可以帮助!

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法在/ etc / fstab中挂载硬盘

来自分类Dev

挂载/ tmp和/ home来分开硬盘

来自分类Dev

无法从终端挂载硬盘

来自分类Dev

以不同的名称挂载硬盘?

来自分类Dev

无法在/ etc / fstab中挂载硬盘

来自分类Dev

无法从终端挂载硬盘

来自分类Dev

我的新硬盘无法在启动时自动挂载

来自分类Dev

无法写入Ubuntu 18.04中已挂载的ext4硬盘驱动器

来自分类Dev

由于重复的UUID,无法挂载外部NTFS硬盘

来自分类Dev

Debian无法挂载分区或外部硬盘

来自分类Dev

硬盘无法在Windows 7中挂载

来自分类Dev

自动挂载外部硬盘

来自分类Dev

无法挂载或移动虚拟硬盘.vhdx文件

来自分类Dev

自动挂载硬盘

来自分类Dev

无法挂载最近格式化的外部硬盘驱动器

来自分类Dev

无法挂载?

来自分类Dev

挂载3TB硬盘

来自分类Dev

挂载硬盘开始不断旋转

来自分类Dev

挂载硬盘

来自分类Dev

无法挂载我的外部硬盘

来自分类Dev

我的外部硬盘驱动器无法挂载。我正在使用Ubuntu 14.10

来自分类Dev

如何挂载我的硬盘

来自分类Dev

如何挂载旧系统硬盘?

来自分类Dev

无法挂载硬盘。不正确的超级块?

来自分类Dev

挂载新硬盘后,Ubuntu将无法启动,仅显示灰屏

来自分类Dev

无法在来自 USB 机箱的硬盘上挂载分区

来自分类Dev

无法挂载从 NAS 移除的硬盘并通过 USB-SATA 适配器连接到 Ubuntu

来自分类Dev

挂载硬盘

来自分类Dev

cloudcompare 挂载硬盘问题