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

Attempting to mount an apfs disk iso from an NTFS filesystem corrupts the NTFS superblock #200

Open
EthanZeigler opened this issue Aug 28, 2024 · 0 comments

Comments

@EthanZeigler
Copy link

When attempting to mount an APFS disk image (iso) that's living on an NTFS filesystem, the NTFS filesystem superblock corrupts itself in a way that mounting the drive in fstab causes the kernel to go into emergency mode.

steps to reproduce

  • create a disk image (iso) of an AFPS formatted drive
  • mount the disk image sudo apfs-fuse /NFTS_MOUNT/path/to/iso /mnt/apfs

Expected

Drive mounts to the apfs directory

Actual

Invalid superblock error occurs no matter if the drive is correctly formatted or not. I've verified on a Mac device the iso is valid.

On the next reboot, Linux will (correctly) state that the NTFS superblock on the drive that held the iso is corrupt. Thankfully it's recoverable via ntfsfix but that absolutely shouldn't be necessary.

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

1 participant