- Asegúrate de que tu tarjeta SD no esta insertada
- Abre una ventana de la terminal y escribe
watch lsblk - Inserta la tarjeta SD y revisa si hay un nuevo dispositivo apareciendo en lsblk
- Observa la información del nuevo dispositivo. Debería coincidir con algo así:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT mmcblk0 179:0 0 29.7G 0 disk └─mmcblk0p1 179:1 0 29.5G 0 part /run/media/user/FFFF-FFFF
- Toma nota del nombre del dispositivo que aparece ahora. En nuestro ejemplo anterior, era
mmcblk0, pero podría aparecer comosdaosdb, si usas un adaptador USB- Si
ROesta establecido en 1, asegúrate de que la pestaña de bloqueo no este deslizada hacia abajo
- Si
- Presiona CTRL + C para salir del menú
- Escribe
sudo umount /dev/<nombre del dispositivo>*(no cambies el*) - Instala los paquetes de
fdiskydosfstoolsusando tu gestor de paquetes preferido - Escribe
sudo fdisk /dev/<nombre del dispositivo> - Enter
o, this will create a new MBR partition scheme - Enter
n, then press enter until you're returned to the prompt- The default values will work fine for all consoles
- Enter
t, then enter0c - Enter
aand thenp- observe the output, and make sure the device is now formatted correctly:Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x######## Device Boot Start End Sectors Size Id Type /dev/<partition name> 8192 62333951 62325760 29.7G c W95 FAT32 (LBA)
- If there are no issues, enter
w- this will save changes and exit the fdisk prompt - Type
sudo mkfs.vfat /dev/<partition name> -s 64to reformat the new partition- If the SD card is over 32GB in size, change
64to128
- If the SD card is over 32GB in size, change
- Type
sudo eject /dev/<device name>, then remove and reinsert the SD card - If the SD card had any files and folders on it before the format, copy everything back from your computer, unless you were linked to this by another guide that needs the SD to be formatted and blank
