Fix partition name for mkfs

Specify that the partition on the card is what mkfs should be run on, not the device entry for the entire card.
This commit is contained in:
manojka 2022-05-17 21:24:28 -07:00 committed by GitHub
parent f45e4b00cf
commit f2467f8ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 3,8G 0 disk
└─mmcblk0p1 179:1 0 3,7G 0 part /run/media/user/FFFF-FFFF
```
1. Take note of the device mount point. In our example above, it was `mmcblk0`
1. Take note of the device mount point. In our example above, it was `mmcblk0p1`
+ If `RO` is set to 1, make sure the lock switch is not slid down
1. Hit CTRL + C to exit the menu
1. Type in the following for your SD card:
@ -33,4 +33,4 @@ mmcblk0 179:0 0 3,8G 0 disk
- 4GB - 128GB: `sudo mkfs.fat /dev/(device mount point from above) -s 64 -F 32`
- This creates a single FAT32 partition with 32 KB cluster size on the SD card
- 128GB or higher: `sudo mkfs.fat /dev/(device mount point from above) -s 128 -F 32`
- This creates a single FAT32 partition with 64 KB cluster size on the SD card
- This creates a single FAT32 partition with 64 KB cluster size on the SD card