Published by admin
Posted on January 12, 2015
We needed to format an external disk to exfat so the drive could be used across multiple OS Platforms. It was a challenge at first until we realize it was pretty much the same as linux. Apple wants the user to use the UI tools for making changes so they limited the features of fdisk.
fdisk -e /dev/disk1
You can erase the existing table using the erase command . Then use auto to auto partition the drive using some of the predefined templates. After which issue the write command to write the changes to the disk.
We then use the diskutil took to convert the drive to exfat and format
diskutil partitionDisk /dev/disk1 dos exfat newlabel 0b The disutil command above will unmount the drive and format . Then attempt to remount. More information on this process can be found in step 2 at http://www.theinstructional.com/guides/disk-management-from-the-command-line-part-2