Featured image of post Mounting External Drives on Linux

Mounting External Drives on Linux

Includes auto-mounting!

🔗 NTFS-3G on Arch Wiki 🔗 Udiskie GitHub

I needed to mount an external disk with NTFS filesystem on an Arch-based system. After some digging, this turned out to be the most reliable and persistent method.

Install NTFS-3G

To properly support NTFS (especially for writing), ntfs-3g is still the most compatible driver.

1
sudo pacman -S ntfs-3g

Create a mount point

Standard procedure — create a directory where the disk will be mounted.

1
sudo mkdir -p /mnt/ntfsdisk

This location can be changed as needed. Just ensure it’s writable and accessible by the user or scripts that will use it.

Mount the NTFS drive manually

Use the ntfs-3g driver explicitly.

1
sudo mount -t ntfs-3g /dev/sdb1 /mnt/ntfsdisk

Replace /dev/sdb1 with the actual device identifier. You can check it with:

1
lsblk

or

1
sudo fdisk -l

Check contents and verify

After mounting, confirm that the contents are accessible:

1
ls /mnt/ntfsdisk

Unmount when done

1
sudo umount /mnt/ntfsdisk

Automating the Mount (Optional)

To avoid manual mounting every time, udiskie is a lightweight automounter that integrates with udisks2.

Udiskie

Install it:

1
sudo pacman -S udiskie

Then run it (ideally from your session or startup script):

1
udiskie --tray &

This enables auto-mounting when drives are plugged in, with an optional tray icon for status/control.

Custom Mount Options

For persistent configuration, define NTFS mount options in the udisks2 config. This allows you to override the defaults with user-specific behavior.

Create or edit:

1
sudo nano /etc/udisks2/mount_options.conf

Example config:

1
2
3
4
[defaults]
ntfs_defaults=uid=$UID,gid=$GID,windows_names,big_writes
ntfs_allow=uid=$UID,gid=$GID,umask,dmask,fmask,locale,windows_names,big_writes
ntfs_drivers=ntfs,ntfs3

This makes sure UID/GID match the current user, allows compatibility with Windows filenames, and improves performance with big_writes.


This setup has been solid for external NTFS drives and keeps things simple with minimal manual steps. Clean, functional, works every time.

Life is a choice: reboot or be root


Built with Hugo
Theme Stack designed by Jimmy