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

Formating SDXC Cards on Linux #2218

Open
HartleyAHartley opened this issue Mar 16, 2023 · 1 comment
Open

Formating SDXC Cards on Linux #2218

HartleyAHartley opened this issue Mar 16, 2023 · 1 comment

Comments

@HartleyAHartley
Copy link

Pages with issue(s)

https://3ds.hacks.guide/formatting-sd-(linux)

Description of the issue(s)

sudo mkfs.fat /dev/(device name from above) -s 64 -F 32

Is not always enough. It is likely that an SDXC has it's partition type set as exFAT.
While the partition will correctly be a fat32 partition after running the above command the partition type will still be exFAT. This causes the new 3ds to reject card.

To change the partition to the correct type assuming /dev/mmcblk0 as the device and /dev/mmcblk0p1 as the partition.

sudo fdisk /dev/mmcblk0
Type t to change the partition table.
Type 0b to set the type to 'W95 FAT32'
Type w to write the new type to the disk

 sudo fdisk /dev/mmcblk0
doas (alice@bakery) password: 

Welcome to fdisk (util-linux 2.38.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): t
Selected partition 1
Hex code or alias (type L to list all): 0b
Changed type of partition 'W95 FAT32' to 'W95 FAT32'.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
@HartleyAHartley
Copy link
Author

Changing the partition type also does not wipe the partition.

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