Wednesday, August 8, 2012

Mounting an exFAT disk in Ubuntu

I recently had trouble mounting an external drive in Ubuntu 11.04.

I take system disc images with dd, from Ubuntu booted with a live CD. One of the steps of the process is to mount the drive where the backup file is to be stored. To do that I need to know the format of the drive.

My problem was that fdisk -l told me that the destination drive was HPFS/NTFS, which was wrong. Connecting the drive to a Windows machine made it clear that it was formatted as exFAT.

Ubuntu does not support the exFAT format in its current distribution (at least not in 11.04), which explains why fdisk gave the wrong information.

If you have trouble connecting an external drive to your Ubuntu install, and fdisk tells you it is NTFS, read on...