Première étape, voir les partitions :
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.1 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 1.1 TB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.1 TB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 571.3 GB disk1s1
2: APFS Volume Preboot 22.0 MB disk1s2
3: APFS Volume Recovery 507.4 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *63.9 GB disk2
1: Linux Filesystem 4.1 MB disk2s1
2: Linux Filesystem 65.5 KB disk2s2
3: Linux Filesystem 4.2 MB disk2s3
4: Linux Filesystem 4.2 MB disk2s4
5: Linux Filesystem 4.2 MB disk2s5
6: Microsoft Basic Data boot 117.4 MB disk2s6
7: Linux Filesystem 63.7 GB disk2s7
En lecture seule :
$ brew install ext4fuse $ sudo mkdir /Volumes/ext4 $ sudo ext4fuse /dev/disk2s7 /Volumes/ext4 -o allow_other
En lecture écriture :
– Ceci ne marche pas ..
$ brew cask install osxfuse $ sudo mkdir /Volumes/ext4 $ sudo mount -t fuse-ext2 /dev/disk2s7 /Volumes/ext4/ mount: exec /Library/Filesystems/fuse-ext2.fs/Contents/Resources/mount_fuse-ext2 for /Volumes/ext4: No such file or directory
– Ceci marche :
$ sudo dscl . append /Groups/operator GroupMembership $(whoami) $ sudo dscl . append /Groups/wheel GroupMembership $(whoami) $ sudo mkdir /Volumes/ext4 $ sudo ext4fuse /dev/disk2s7 /Volumes/ext4
Enfin le mieux est quand même le « sudo su », car le Groupe ne fonctionne pas correctement.