Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos 12.7.4 mount's ext but cannot access it. #81

Open
supersophie opened this issue Nov 2, 2024 · 1 comment
Open

macos 12.7.4 mount's ext but cannot access it. #81

supersophie opened this issue Nov 2, 2024 · 1 comment

Comments

@supersophie
Copy link

Hi,
I compiled ext4mount from git, and tried to mount an ext volume. Probably ext3.

# uname -a
Darwin abc 21.6.0 Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 x86_64
# diskutl list
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *1.0 TB     disk2
   1:                      Linux ⁨⁩                        1.0 TB     disk2s1
# ext4fuse /dev/disk2s1 /tmp/mnt -o allow_other
SophieMacBookAir:tmp root# df
df: getattrlist failed: Input/output error
df: getattrlist failed: Input/output error
....
ext4fuse@macfuse0          0         0         0   100%       0         0  100%   /private/tmp/mnt
# ls /tmp/mnt /private/tmp/mnt
ls: /private/tmp/mnt: Input/output error
ls: /tmp/mnt: Input/output error

Any ideas on how I could troubleshooting this?

@chevdor
Copy link

chevdor commented Feb 3, 2025

Same issue here on Sequoia (15.1.1 (24B91))

The image I am using can be fetched from https://downloads.raspberrypi.org/raspbian/images/raspbian-2017-04-10/2017-04-10-raspbian-jessie.zip

VM_LOC=~/qemu
IMAGE=$VM_LOC/2017-04-10-raspbian-jessie.img
MNT=$VM_LOC/raspbian
INFO=$(hdiutil attach $IMAGE)
DEV=$(echo "$INFO" | awk '/Linux/ {print $1}')
$ sudo file -s $DEV
/dev/disk2s2: Linux rev 1.0 ext4 filesystem data, UUID=b105f9a8-f450-4976-8ac8-69053f57bab4 (extents) (large files)
$ sudo -s ext4fuse $DEV $MNT -o allow_other
$ echo $?
0
$ sudo ls -al $MNT

ls: /.../raspbian: Input/output error
ll $MNT
"/.../raspbian": Input/output error (os error 5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants