![what creates directory for usb mount what creates directory for usb mount](https://i1.wp.com/www.linuxandubuntu.com/wp-content/uploads/2019/06/mount-usb-drive-linux.jpg)
Example: If you found your correct device to be “sdc” earlier, you’d use “ /dev/sdc” instead. Make sure you use the same device you found earlier.
![what creates directory for usb mount what creates directory for usb mount](https://www.freecodecamp.org/news/content/images/2019/09/default_-_default_freeCodeCamp_-_-zsh_-_130-33.png)
If you’ve got a newer machine with an SATA drive or a SCSI drive in it, the output will most likely be quite different. The information we’re interested in is the output immediately after “SCSI device”. SCSI device sda: 31520 512-byte hdwr sectors (16 MB)Īs you can see, there are three lines of output, but they are all the same. To do this, simply issue the following command in the same terminal window.ĭmesg | grep -i “SCSI device” linux:/home/jason/Desktop # dmesg | grep -i "SCSI device" With that done, we need to get the appropriate device which is attached to your flash drive.
![what creates directory for usb mount what creates directory for usb mount](https://i.stack.imgur.com/rcjgq.jpg)
(You won’t see any typing on the screen when you enter your password. When it asks for your password, enter the root password. To become the root user, type in the following commands. This user is the only one which can access the commands to manually mount your drive. Some newer models also have some ports on the front panel.Īfter you’ve plugged it in, you’ll want to open a terminal window and become the “root” user. These usually are found on the back-side of your computer. Plug in the flash drive into one of the USB ports on your computer. The second way we’ll explain should be used if you plan on using your flash drive on a more regular basis. The first way we’ll describe should be used if you are going to rarely mount your drive, or only mount it once. There are two ways to manually mount your flash drive in Linux. * note* Before you begin trying to do this manually, make sure Linux has not all ready mounted your drive to your Desktop automatically.