Posted: . At: 12:24 PM. This was 10 years ago. Post ID: 6640
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

How to mount USB drives in Ubuntu without needing root access. This is very easy indeed.

Mounting a USB drive in Ubuntu without needing root access.

If you want to be able to mount a USB drive in Ubuntu or Linux Mint without clicking the entry in the Nautilus file manager then this post is for you.

Type this command to install the pmount utility.

homer@lollinux-machina:~$ sudo apt-get install pmount

Then plug in a USB drive and query the kernel to see what the device identifier is. Do this by typing dmesg | tail. If you have only just plugged in the USB drive it will show the device id, e.g /dev/sdj. Then type this command to mount the drive.

homer@lollinux-machina:~$ pmount /dev/sdj1

This will mount the drive at the /media/sdj1 location and you will then be able to access the files.

The pumount command will then unmount the media when you are finished with it.

homer@lollinux-machina:~$ pumount /dev/sdj1

This is a very useful command that you could put into a script to mount all of your NTFS drives on startup.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.