Guide_3DS icon indicating copy to clipboard operation
Guide_3DS copied to clipboard

Formating SDXC Cards on Linux

Open HartleyAHartley opened this issue 1 year ago • 1 comments

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 avatar Mar 16 '23 02:03 HartleyAHartley

Changing the partition type also does not wipe the partition.

HartleyAHartley avatar Mar 16 '23 02:03 HartleyAHartley