PDA

View Full Version : [ubuntu] how to make external hd talk to OSX and linux?



Mzwo
July 19th, 2009, 11:18 PM
hi,

title says it all, really.

i bought an external harddrive which i intend to use on both laptop (ubuntu 9.04) and imac (OSX 10.5). alas, as i found out, there doesn't seem to be a common file system. NTFS won't work, because it's read only on the mac. ext3 won't work, because it's no-read-at-all on the mac. or so i read.

so, what to do?

if at all possible, i'd quite like to keep the hd as one single partition.

any hints much appreciated.

cheers,

mzwo

fbugnon
July 20th, 2009, 01:17 AM
I think there is several options to achieve a "bilingual" read-and-write external HD.

HFS
From researches I've done long ago, it seems to me that the HFS file system (non journaled, i.e. not HFS+) it would be a good option. More info about this on:


http://www.tgunkel.de/it/hardware/doc/ibook_g4_linux.en

Of course, for the HFS to be readable under Linux, you would need to install hfstools (if I'm not wrong that's the name).


NTFS
Could work I guess, just need to install Fuse on your Mac (fuse.sourceforge.net).

Ext2/Ext3
I think you could make them read/write from Mac using ExtFS, but there are other options.

Further reading: http://ubuntuforums.org/archive/index.php/t-619909.html

alexmurray
July 20th, 2009, 02:38 AM
I would suggest FAT32 - whilst its not the best filesystem going around (in terms of technical merits etc), it is definitely the most commonly supported one - which is why basically all USB thumb / flash drives use it

Richardcavell
July 20th, 2009, 05:35 AM
I suggest using HFS or FAT32 for the external hard disk. Ubuntu can read HFS+ but cannot write it. It can read and write HFS. FAT32 is as portable as you can get, but not very UNIX-ish.

Your user and group ids need to be the same under both OS X and Ubuntu.

Richard

Mzwo
July 20th, 2009, 07:33 AM
hi,

thanks for the suggestions.

am i right in assuming that FAT32 can handle files up to a maximum of 4GB? that may be a problem since i'm mainly working with large audio files.




Your user and group ids need to be the same under both OS X and Ubuntu.

Richard

does this apply to HFS only or any file system?

cheers,
mzwo

Richardcavell
July 20th, 2009, 02:01 PM
In general, FAT32 files are limited to 4 gigabytes. If you want to work with large files, you'll need a workaround or a different file system type.

Your user and group need to be the same on OS X and Ubuntu to access the same files on any file system that recognizes such concepts (such as HFS, HFS+ and ext). FAT32 does not record user and group.

Richard