Trick to mount ext4 SD card on macos Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
cmoulliard
Posts: 39
Joined: Tue Jan 19, 2021 11:51 am

Trick to mount ext4 SD card on macos

Post by cmoulliard »

Hi

I'm wondering if one of you knows the trick to mount a writable SD card on MacOS to edit the file /boot/dietpi.txt as ext4fuse only mounts as readonly the Linux FileSystem ?

Cheers

Charles
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Trick to mount ext4 SD card on macos

Post by Joulinar »

Hi

usually /boot is located on a vfat partition. What kind of image you are using
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cmoulliard
Posts: 39
Joined: Tue Jan 19, 2021 11:51 am

Re: Trick to mount ext4 SD card on macos

Post by cmoulliard »

image of dietpi buster has been flashed on the SD card
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Trick to mount ext4 SD card on macos

Post by Joulinar »

DietPi is offering more than 1 image, depending on your device. Maybe you can share the image name or your device
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cmoulliard
Posts: 39
Joined: Tue Jan 19, 2021 11:51 am

Re: Trick to mount ext4 SD card on macos

Post by cmoulliard »

Device is : RockPro64
Image: DietPi_ROCKPro64-ARMv8-Buster.img
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Trick to mount ext4 SD card on macos

Post by Joulinar »

ok compare to other images, the ROCKPro64 has an ext4 partition only.

There are limited options as Apple is not supporting ext4

https://github.com/alperakcan/fuse-ext2
https://osxfuse.github.io/

or use a VM temporarily

probably better to reach out to an Apple forum. Maybe there are more guys having experience on getting ext4 support on MacOS
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cmoulliard
Posts: 39
Joined: Tue Jan 19, 2021 11:51 am

Re: Trick to mount ext4 SD card on macos

Post by cmoulliard »

I have mounted the USB - SD card on another Pi box for the moment and then I can edit the file ;-)
User avatar
Joulinar
Posts: 4836
Joined: Sat Nov 16, 2019 12:49 am

Re: Trick to mount ext4 SD card on macos

Post by Joulinar »

indeed a 4th option, compare to using a VM :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cmoulliard
Posts: 39
Joined: Tue Jan 19, 2021 11:51 am

Re: Trick to mount ext4 SD card on macos

Post by cmoulliard »

A 5th option (which relies on virtualbox) is to use vagrant tool to boot a Linux VM and next scp files to the USB card

See : https://github.com/ch007m/home-devices/ ... er/vagrant
Post Reply