External harddrive with MacOSX partition

I’d backed up some files from a friend’s MacBook harddrive (onto an NTFS partition mounted in Ubuntu Linux). He then provided me with an external harddrive to copy them back onto. This wouldn’t work because many of the filenames weren’t supported by the FAT32 partition of the external HDD. This is the solution I chose.

Use gparted to resize the FAT32 partition on the external drive to a few hundred megabytes so I keep the software that was on there (probably not very useful).

Create a new partition in the free space, still using gparted. This partition will need to be reformatted with MacOSX so it doesn’t matter what format you create. I first created an HFS+ partition with gparted but it wasn’t recognised by MacOSX and although Ubuntu could mount it it wasn’t automagically mounted as external drives usually are.

This is solved by reformatting the partition as an unjournaled MacOS partition with MacOS via Applications -> Utilities -> Disk Utility.

Then both partitions (the resized FAT32 and the new unjournaled HFS+) should be mounted automatically in MacOSX and Linux systems. It is important for the filesystem to be unjournaled or Linux will mount it read-only.

To read MacOS partitions with Ubuntu you will need to install packages hfsplus, hfsprogs and hfsutils (maybe they are not all necessary).

This entry was posted on Wednesday, June 24th, 2009 at 05:11:42 System/Localtime and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply