Mount and Unmount USB drive in Ubuntu

Mount the Drive

Step 1 : Go to media  

$ cd /media

Step 2 : Create the Mount Point

Now we need to create a mount point for the device, let’s say we want to call it “usb-drive “. You can call it whatever you want. Create the mount point:

$ sudo mkdir usb-drive

 Step 3 : Mount the Drive

We can now mount the drive. Let’s say the device is /dev/sdb1, the filesystem is FAT16 or FAT32 , and we want to mount it at /media/usb-drive (having already created the mount point)

 $ sudo mount -t vfat /dev/sdb1 /media/usb-drive

 Step 4 : Check USB drive contents

 $ ls /media/usb-drive/

Unmount the Drive

$ sudo umount /dev/sdb1


$ sudo umount /media/usb-drive


Error: umount: /media/usb-drive: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
Solution: It means that some process has a working directory or an open file handle underneath the mount point. The best thing to do is to close the file before unmounting.

Note: The information provided here is best of my knowledge and experiences if at all any modifications are to be made please help me with your valuable suggestions which are always welcome…. 🙂