What do I need to do to mount a USB drive in ArchLinux

What packages do I need to allow me to mount a USB drive in ArchLinux from the command line? What command do I use? Under Ubuntu these things happen automatically, but it's about time I learned how to do it like a pro

3 Answers

mount /dev/sdXY /path/to/location/of/your/choice

Where XY is the sticks device node and partition (e.g. /dev/sdb1)

Simply run fdisk -l to see what your USB device is called. Then make a directory - mkdir /mnt/my_usb - and mount it there: mount /dev/sdXY /mnt/my_usb.

I'd just like to add this if anyone stumbles across this page again.  I believe the packages "dosfstools" and "mtools" are required by Arch Linux to format FAT32 file systems.  These tools don't come with the base Arch installation and are the reason why I had a similar problem with the USB drive not showing up and being unable to mount.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like