Skip to content

Formating SDXC Cards on Linux #2218

@aliceofhartley

Description

@aliceofhartley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions