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

Thread: Cross platform memory stick

Hybrid View

  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,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    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.
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    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/
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Sep 2005
    Beans
    1,596
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Cross platform memory stick

    ??? oldfred? I thought he was meaning for transferring files back and forth, not for booting. Wrong thread maybe?
    MBA M1 - M1 8GB 256GB - macOS Monterey
    MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
    Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11

  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,627
    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 22.04 Jammy Jellyfish

    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 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  8. #8
    Join Date
    Sep 2006
    Beans
    8,627
    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 22.04 Jammy Jellyfish

    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 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    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.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] 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
  •