


The syntax for which will look something like this: To do this, we'll need use the mount command. OK, So now we've identified our USB device and created a mount point, we can finally mount it.

This creates a folder on my desktop called 'myflash', which I'll use as a mount-point for my USB drive.Ĥ. Going with /home/ for my example: mkdir /home/jason/Desktop/myflash Or you could create a folder in your home directory, or wherever. You could put it in a directory in /media/, which is where some distros auto mount drives to. Where you choose to put this directory is up to you. Next we'll need to create a directory to act as a mount point.

Once you've identified your device in the list (it could be /dev/sda, /dev/sdb, /dev/sdb1, /dev/sdc etc.), you need to make a note of it.įor this example, lets assume that I've identified /dev/sdb1 as my USB drive.ģ. So if your stick is 1GB and you see a drive listed that has 1GB capacity, then it's most likely to be your device (provided there aren't more than one 1Gb drives plugged in!) Assuming you found your device, next you'll need to get a list of connected drives using: dmesg | grep -i "SCSI device"Īgain take a look in the output for something that refers to your USB stick. If you can see something which refers to your USB stick (manufacturer, capacity etc.), you'll know for certain that your system has recognised the device and you can continue on to mount it.īut if you don't see anything, there's no point attempting to mount the device, as the OS has not detected/recognised it!Ģ. After plugging a USB drive into your machine, you need to use the lsusb command to see what devices are connected via USB and search the output for anything that refers to your USB stick. To manually mount, you'll need to do the following:ġ. You'll need to substitute sudo for su, or whatever your distro uses to get root access. Apologies if there are any errors though! Also you should be aware that I tend to use debian based distros, so I've included use of sudo to get root access in the following guide. NOTES: Before we start, This is completely off the top of my head, I've not got a *nix box in front of me to test any of this atm, but it should work. If there's no graphic interface, you may have to manually mount your usb drive (unless your OS happens to auto-mount drives).
