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

Read-only file system when trying to write to 3DS NAND backup #114

Closed
primaviera opened this issue Nov 26, 2024 · 1 comment
Closed

Read-only file system when trying to write to 3DS NAND backup #114

primaviera opened this issue Nov 26, 2024 · 1 comment

Comments

@primaviera
Copy link

primaviera commented Nov 26, 2024

I'm currently trying to mount my 3DS NAND backup (from GodMode9) on linux with the following command
sudo mount_nandctr --boot9 boot9.bin 241126_AWxxxxxxxx_sysnand_00.bin mount_folder
Attempting to write anything to it gives me this error
cp: cannot create regular file 'mount_folder/ctrnand_full.img': Read-only file system (trying to replace ctrnand_full.img)
touch: cannot touch 'mount_folder/a': Read-only file system (trying to create an empty file, for testing)
Is there any way to fix this? I also tried using the rw mount option to no avail.

@ihaveamac
Copy link
Owner

The mount is not a real folder, it's showing fake files that are part of the NAND image. Currently due to limitations of how it works (#68) files cannot be simply be copied into it. For now dd can be used instead to overwrite a file with the contents of another, for example: dd if=ctrnand_full.img of=mount_folder/ctrnand_full.img bs=8M conv=notrunc

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