не может получить доступ к моему USB на ubuntu

16 ГБ USB-накопитель труднодоступен и используется. Я создал точку монтирования, набрав: mkdir / media / usb. Затем набрал: sudo mount / dev / sda / media / usb

Но там написано:

mount: /media/usb: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.

Я попробовал: sudo mount / dev / sda / mnt. то же самое сообщение.

Относительно того, как я узнал, что это sda, я дважды подключил USB, и один раз он был в sda, а другой раз был в sdb. В любом случае, я получаю одно и то же сообщение. Но чтобы ответить на вопрос, я использовал эту строку в терминале: sudo fdisk -l.

когда я использую lblsk -f и lblsk -m, я получаю

lblsk: command not found

iceblizzard, ваше решение сработало, так что спасибо. Но это было подавляющее количество информации. Это сильно отличается от того, к чему я привык в Windows, нужно ли создавать разделы каждый раз, когда я использую жесткий диск? Что происходит с остальным пространством жесткого диска? Заранее спасибо. Я вижу, что многому научиться пользоваться этой системой.

Большое спасибо

1
задан 1 July 2020 в 21:06

1 ответ

It seems that you are trying to mount a disk instead of a partition on the disk, which is not possible. fdisk -l should list partitions such as /dev/sda1 or /dev/sda2. Mount those instead; they should work. If there are no partitions, you have not formatted your disk; use GParted or another program to do so. In addition, your usb drive should not be /dev/sda, as /dev/sda is usually the device that contains the root filesystem.

In response to your further questions, no, you do not need to create new partitions every time you use a hard drive; once they are created, they can be used by any computer that can read the filesystem the drive is formatted with. Linux can read ext3/4, xfs, jfs, btrfs, fat, ntfs (after installing ntfs-3g), and others. Unless you specified the size of your partition, the partition should take up all the space on the drive. If your partition does not take up the whole drive, the rest of the space is unallocated and cannot be accessed until it is assigned to a partition.

1
ответ дан 28 July 2020 в 22:42

Другие вопросы по тегам:

Похожие вопросы: