I
I
Ismail Ismailov2017-10-04 21:41:48
Debian
Ismail Ismailov, 2017-10-04 21:41:48

Selecting USB drive directory via terminal (Debian)?

By mistake, I installed bare debian, without a graphical shell, empty. Basically I don't want to change to a ready-made distribution, and therefore I'm trying to install the initial packages. To begin with, how can you access the drive through the terminal? the system defines it as sdb1 (and there is also no fdisk, I found out through lsblk), the fat32 file system. I do not understand the folder hierarchy, and the location of the connected devices. Mounting mount /dev/sdb1fails, it also ls /dev/sdb1says that this is not a folder.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2017-10-04
@Barz2z

if you mount - you need to specify where. For example:

mkdir -p /mnt/flash
mount /dev/sdb1 /mnt/flash

ls as you use it says everything is correct: /dev/sdb1 is not a folder, but a device file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question