unable to access raspberry microSD card using osxfuse

374 views
Skip to first unread message

cfsa

unread,
Mar 16, 2020, 2:01:22 PM3/16/20
to OSXFUSE
I have spent a great deal of time trying to access a raspberry microSD card on a Mac.
I installed osxfuse (download dmg file and run it - see screen shot below showing location of folder and files), then tried to mount the SD card.

This has been just trial and error (emphasis on the latter), as I did not find (current) information on how to use it.
Most of the posts I found are pre-2019, so I believe they do not apply given all the changes osxfuse has gone through.

Eventually I figured I need to mount the card to gain access to it - but so far I have been unable to do this.
All the commands I tried fail for one reason or another - see below.

So how does one use osxfuse to access a file system created on a raspberry (Raspbian Linux) unser MacOS?
It's quite likely I am not using the proper mount command - but I just can't figure what it should be... 

The pertinent disk i disk2s7, below


/dev/disk2 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:     FDisk_partition_scheme                        *15.6 GB    disk2

   1:             Windows_FAT_16 RECOVERY                2.6 GB     disk2s1

   2:                      Linux                         33.6 MB    disk2s5

   3:             Windows_FAT_32 boot                    268.4 MB   disk2s6

   4:                      Linux                         12.7 GB    disk2s7




someuser@macosx ~ % mount -t osxfuse /dev/disk2s7 /Volumes/raspberry -o allow_other

usage: mount [-dfruvw] [-o options] [-t external_type] special mount_point

       mount [-adfruvw] [-t external_type]

       mount [-dfruvw] special | mount_point


someuser@macosx ~ % mount -t osxfuse /dev/disk2/disk2s7 /Volumes/raspberry -o allow_other

usage: mount [-dfruvw] [-o options] [-t external_type] special mount_point

       mount [-adfruvw] [-t external_type]

       mount [-dfruvw] special | mount_point


someuser@macosx ~ % sudo ext4fuse /dev/disk2s7 /Volumes/raspberry -o allow_other

Password:

sudo: ext4fuse: command not found


someuser@macosx ~ % sudo osxfuse /dev/disk2s7 /Volumes/raspberry -o allow_other

sudo: osxfuse: command not found


someuser@macosx ~ % mount /dev/disk2/disk2s7 /Volumes/raspberry -o allow_other                

usage: mount [-dfruvw] [-o options] [-t external_type] special mount_point

       mount [-adfruvw] [-t external_type]

       mount [-dfruvw] special | mount_point


someuser@macosx ~ % mount /dev/disk2s7 /Volumes/raspberry -o allow_other  

usage: mount [-dfruvw] [-o options] [-t external_type] special mount_point

       mount [-adfruvw] [-t external_type]

       mount [-dfruvw] special | mount_point


osxfuse.png



Sam Moffatt

unread,
Mar 16, 2020, 2:11:42 PM3/16/20
to osxfus...@googlegroups.com
Hi there,

OSXFUSE is just a framework for supporting user space filesystems with a kernel extension to integrate with the MacOS VFS kernel API. You still need to acquire a copy of fuse-ext2 (or it seems ext4fuse for you) separately.

Here's the wiki page on Ext with some instructions, YMMV: https://github.com/osxfuse/osxfuse/wiki/Ext

Cheers,

--
You received this message because you are subscribed to the Google Groups "OSXFUSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osxfuse-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osxfuse-group/c3a12cf8-6bf1-404a-852c-d32ee157ae09%40googlegroups.com.

cfsa

unread,
Mar 16, 2020, 6:28:56 PM3/16/20
to OSXFUSE
Hello,



It took me a long while - mostly trying to figure how to install fuse-ext2 - but I did it (following instructions here:  https://github.com/gpz500/fuse-ext2, under MacOS, "The easiest way is using Homebrew")

Installation successful, but unfortunately it does not seem to work. Running fuse-ext2 produces no visible result, and no new disks are mounted...
The only difference I see is on diskutil, two shaded icons for the (inaccessible) partitions



Thanks for your help, much appreciated

Sam Moffatt

unread,
Mar 16, 2020, 8:37:11 PM3/16/20
to osxfus...@googlegroups.com
MacOS doesn't recognise the filesystems and will not provide functionality in the GUI to mount them. Once they're mounted you'll get all of the standard UI interactions in Finder but support is limited.

Check out the usage section of either the wiki I posted before or the the instructions you posted in your reply for how to use fuse-ext2.

Cheers,

--
You received this message because you are subscribed to the Google Groups "OSXFUSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osxfuse-grou...@googlegroups.com.

cfsa

unread,
Mar 16, 2020, 9:38:49 PM3/16/20
to OSXFUSE
Sam, thanks for your patience

I did not have much luck - below are the commands I entered. Some resulted in error msgs, others in silence, but nothing got actually mounted.

someuser@macosx ~ % mount -t fuse-ext2 /dev/disk1s7 /volumes/raspberry

mount: /Volumes/raspberry failed with 252

someuser@macosx ~ % sudo mount -t fuse-ext2 /dev/disk1s7 /volumes/raspberry

mount: /Volumes/raspberry failed with 252

...

someuser@macosx ~ % fuse-ext2 /dev/disk1/disk1s7 /volumes/raspberry 

someuser@macosx ~ % sudo fuse-ext2 /dev/disk1/disk1s7 /volumes/raspberry

Password:

...

someuser@macosx ~ % fuse-ext2 /dev/disk1s7 /volumes/raspberry -o ro

...

someuser@macosx ~ % diskutil list                                     

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *1.0 TB     disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                 Apple_APFS Container disk2         1000.0 GB  disk0s2


/dev/disk1 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:     FDisk_partition_scheme                        *15.6 GB    disk1

   1:             Windows_FAT_16 RECOVERY                2.6 GB     disk1s1

   2:                      Linux                         33.6 MB    disk1s5

   3:             Windows_FAT_32 boot                    268.4 MB   disk1s6

   4:                      Linux                         12.7 GB    disk1s7



Cheers
To unsubscribe from this group and stop receiving emails from it, send an email to osxfus...@googlegroups.com.

Sam Moffatt

unread,
Mar 18, 2020, 5:29:01 PM3/18/20
to osxfus...@googlegroups.com
Unfortunately I don't have any direct experience with the ext2 implementation so I can't help you any more than pointing to the existing documentation, maybe someone else on the list will be able to take it from here.

Cheers,
To unsubscribe from this group and stop receiving emails from it, send an email to osxfuse-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osxfuse-group/5278331a-31c7-4105-8afb-39a90f28270a%40googlegroups.com.

cfsa

unread,
Mar 18, 2020, 6:06:47 PM3/18/20
to OSXFUSE
Thank you anyways, Sam !
Reply all
Reply to author
Forward
0 new messages