Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Cross platform memory stick

  1. #1
    Join Date
    Jul 2008
    Beans
    Hidden!

    Cross platform memory stick

    Is it possible to format a memory stick so that it will work on both Ubuntu 14.04 and a Mac Mini that runs Snow Leopard?

  2. #2
    Join Date
    Sep 2005
    Beans
    1,614
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Cross platform memory stick

    You'd want to use FAT32 or NTFS. I believe Macs can write to NTFS, if not FAT32. You can install modules to mount ext2 or ext3 on Mac - which I'd prefer over, but I use Windows still so I use NTFS.
    Where's [slooksterpsv] been? - I had Catastrophic partition alignment failure. I lost 90%+ of my data, and just now got it back fixed and working.

  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cross platform memory stick

    This was not for a Mac, but shows installing in both UEFI & BIOS boot mode.

    Flash drive to boot in UEFI or BIOS - sudodus
    https://help.ubuntu.com/community/In.../UEFI-and-BIOS

    You may also be able to install rEFInd?

    Alternative efi boot Manager for UEFI limited systems:
    https://wiki.archlinux.org/index.php...s#Using_rEFInd
    http://www.rodsbooks.com/refind/
    http://www.rodsbooks.com/refind/getting.html
    http://www.rodsbooks.com/efi-bootloaders/
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  4. #4
    Join Date
    Sep 2005
    Beans
    1,614
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Cross platform memory stick

    ??? oldfred? I thought he was meaning for transferring files back and forth, not for booting. Wrong thread maybe?
    Where's [slooksterpsv] been? - I had Catastrophic partition alignment failure. I lost 90%+ of my data, and just now got it back fixed and working.

  5. #5
    Join Date
    Jul 2008
    Beans
    Hidden!

    Re: Cross platform memory stick

    Slooksterpsv - yep I'm looking to transfer files back and forth!

  6. #6
    Join Date
    Sep 2006
    Beans
    8,366
    Distro
    Ubuntu 14.04 Trusty Tahr

    hfs+ without journaling works out of the box

    HFS+ is OS X's native file format. Ubuntu will read HFS+ no problem and, if journaling is turned off on the stick, it will also write.

    There are minor variations in the Disk Utility between versions, but if I recall correctly, Snow Leopard allows you to choose unjournaled as an option. If not, there should be a button at the top of the Disk Utility window to enable or disable journalling. If you have to disable journalling manually in OS X, it is like this in the shell:

    Code:
    diskutil disableJournal /Volumes/Foo
    ... where Foo is your USB stick.

    As far as I know, Ubuntu 14.04 works out of the box with HFS+, it works for me, but if you want some of the extra utilities like fsck then you can add hfsplus, hfsutils and hfsprogs.

  7. #7
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cross platform memory stick

    @UncleMonty, you can format your usb device with the unjournalled version of HFS+ as Lars Noodén describes to get read-write in both Ubuntu and Snow Leopard, but you will still trip over another issue. Your UID in Ubuntu will probably be 1000 and in Snow Leopard, iirc, 501. Depending on what specific permissions files are saved with, that may or may not be troublesome. When I was experimenting with unjournalled HFS+ for file transfer between Snow Leopard and Ubuntu, I found it really irritating to have to deal with occasional permission problems.

    The easiest and quickest way is to use a Microsoft filesystem which circumvents this problem. FAT32 is supported read-write out of the box in both Snow Leopard and Ubuntu and is the simplest option, but has the disadvantage that the file size limit is 4GB. If you are wanting to transfer video files, this might be an issue, but if not, go for FAT32.

    If you do need to transfer files > 4GB then you could consider NTFS. NTFS read-write support is good in Ubuntu, but Snow Leopard can only read NTFS unless you install the Mac ntfs-3g driver. When I did this a few years ago, it seemed to be less reliable and certainly much slower than the Linux ntfs-3g driver. Perhaps it has improved now - I have no recent experience.

    For files > 4GB there's also a third possibilty: exfat. Apparently exfat is supported in Snow Leopard, and you can get exfat support in Ubuntu by installing exfat-fuse and exfat-utils. Whether that's a viable option, I don't know. I've never done it. Perhaps others can comment.
    Ubuntu 15.04 Desktop Guide - Ubuntu 14.04 Desktop Guide - Forum Guide to BBCode - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  8. #8
    Join Date
    Sep 2006
    Beans
    8,366
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cross platform memory stick

    I thought FAT32 and the other FATs mung filenames, among other problems.

    As for the UID question, it's easy enough to set the same numerical UID on all machines in question. I usually adjust the OS X machines to match the Linux machines. But that 's just in the personal space. In a larger, work environment the UIDs are usually coordinated and synchronized among all macnines so there it would not be an issue.

  9. #9
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: Cross platform memory stick

    Quote Originally Posted by Lars Noodén View Post
    I thought FAT32 and the other FATs mung filenames, among other problems.
    Why would you think that? There are a few characters which are forbidden in Microsoft filesystem filenames, which I wouldn't use anyway, but in years of moving files between Linux, Apple and Microsoft filesystems, I have yet to have a filename "munged". But I have come near to tearing my hair out with HFS+.
    Ubuntu 15.04 Desktop Guide - Ubuntu 14.04 Desktop Guide - Forum Guide to BBCode - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  10. #10
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cross platform memory stick

    I have seen windows names as an option for NTFS mounting to avoid file name issues.

    For ntfs UUID shown is example only see below:
    UUID=XXXXXXXXXXX /media/WinD ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0
    Window_names prevents the use of invalid windows characters:
    (which are the nine characters ” * / : < > ? \ | and those whose code is less than 0×20)
    uid=1000 should fix the trash problems as well:

    Yes oldfred did not read OP's first post and just thought boot issue.
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •