|
|
| Line 1: |
Line 1: |
| | <translate> |
| This is an add-on section for formatting an SD card to FAT32. | | This is an add-on section for formatting an SD card to FAT32. |
|
| |
|
| Line 4: |
Line 5: |
|
| |
|
| == Instructions == | | == Instructions == |
| {{warning|Before beginning these steps, copy all of your SD card's contents to a folder on your computer.}} | | </translate> |
| | {{warning|text=<translate>Before beginning these steps, copy all of your SD card's contents to a folder on your computer.</translate>}} |
|
| |
|
| {{warning|The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.}} | | {{warning|<translate>The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.</translate>}} |
| <tabber> | | <tabber> |
| |-|fdisk= | | |-|fdisk= |
|
| |
|
| <span> | | <span> |
| # Make sure your SD card is '''not''' inserted
| | <ol> |
| # Open a terminal window and type <code>watch lsblk</code>
| | <li><translate>Make sure your SD card is '''not''' inserted</translate></li> |
| # Insert the SD card and watch for a new device appearing in lsblk
| | <li><translate>Open a terminal window and type <code>watch lsblk</code></translate></li> |
| # Observe the output for the new device. It should match something like this: {{#tag:syntaxhighlight|
| | <li><translate>Insert the SD card and watch for a new device appearing in lsblk</translate></li> |
| | <li><translate>Observe the output for the new device. It should match something like this:</translate> |
| | {{#tag:syntaxhighlight| |
| NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
| mmcblk0 179:0 0 29.7G 0 disk | | mmcblk0 179:0 0 29.7G 0 disk |
| └─mmcblk0p1 179:1 0 29.5G 0 part /run/media/user/FFFF-FFFF | | └─mmcblk0p1 179:1 0 29.5G 0 part /run/media/user/FFFF-FFFF |
| |lang=text}} | | |lang=text}}</li> |
| # Take note of the name of the device that now appears. In our example above, it was <code>mmcblk0</code>, but it could show up as <code>sda</code> or <code>sdb</code>, if you use a USB adapter
| | <li><translate>Take note of the name of the device that now appears. In our example above, it was <code>mmcblk0</code>, but it could show up as <code>sda</code> or <code>sdb</code>, if you use a USB adapter</translate> |
| #* If <code>RO</code> is set to 1, make sure the lock switch is not slid down
| | <ul><li><translate>If <code>RO</code> is set to 1, make sure the lock switch is not slid down</translate></li></ul></li> |
| # Hit CTRL + C to exit the menu
| | <li><translate>Hit CTRL + C to exit the menu</translate></li> |
| # Type <code>sudo umount /dev/<device name>*</code> (do not replace the <code>*</code>)
| | <li><translate>Type <code>sudo umount /dev/<device name>*</code> (do not replace the <code>*</code>)</translate></li> |
| # Install the <code>fdisk</code> and <code>dosfstools</code> packages using your package manager of choice
| | <li><translate>Install the <code>fdisk</code> and <code>dosfstools</code> packages using your package manager of choice</translate></li> |
| # Type <code>sudo fdisk /dev/<device name></code>
| | <li><translate>Type <code>sudo fdisk /dev/<device name></code></translate></li> |
| # Enter <code>o</code>, this will create a new MBR partition scheme
| | <li><translate>Enter <code>o</code>, this will create a new MBR partition scheme</translate></li> |
| # Enter <code>n</code>, then press enter until you're returned to the prompt
| | <li><translate>Enter <code>n</code>, then press enter until you're returned to the prompt</translate> |
| #* The default values will work fine for all consoles
| | <ul><li><translate>The default values will work fine for all consoles</translate></li></ul></li> |
| # Enter <code>t</code>, then enter <code>0c</code>
| | <li><translate>Enter <code>t</code>, then enter <code>0c</code></translate></li> |
| # Enter <code>a</code> and then <code>p</code> - observe the output, and make sure the device is now formatted correctly: {{#tag:syntaxhighlight|
| | <li><translate>Enter <code>a</code> and then <code>p</code> - observe the output, and make sure the device is now formatted correctly:</translate> |
| | {{#tag:syntaxhighlight| |
| Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors | | Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors |
| Units: sectors of 1 * 512 = 512 bytes | | Units: sectors of 1 * 512 = 512 bytes |
| Line 39: |
Line 44: |
| Device Boot Start End Sectors Size Id Type | | Device Boot Start End Sectors Size Id Type |
| /dev/<partition name> 8192 62333951 62325760 29.7G c W95 FAT32 (LBA) | | /dev/<partition name> 8192 62333951 62325760 29.7G c W95 FAT32 (LBA) |
| |lang=text}} | | |lang=text}}</li> |
| # If there are no issues, enter <code>w</code> - this will save changes and exit the fdisk prompt
| | <li><translate>If there are no issues, enter <code>w</code> - this will save changes and exit the fdisk prompt</translate></li> |
| # Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition
| | <li><translate>Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition</translate> |
| #* If the SD card is over 32GB in size, change <code>64</code> to <code>128</code>
| | <ul><li><translate>If the SD card is over 32GB in size, change <code>64</code> to <code>128</code></translate></li></ul></li> |
| # Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
| | <li><translate>Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card</translate></li> |
| # 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
| | <li><translate>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</translate></li> |
| | </ol> |
| </span> | | </span> |
|
| |
|
| Line 51: |
Line 57: |
|
| |
|
| <span> | | <span> |
| # Make sure your SD card is '''not''' inserted
| | <ol> |
| # Open a terminal window and type <code>watch lsblk</code>
| | <li><translate>Make sure your SD card is '''not''' inserted</translate></li> |
| # Insert the SD card and watch for a new device appearing in lsblk
| | <li><translate>Open a terminal window and type <code>watch lsblk</code></translate></li> |
| # Observe the output for the new device. It should match something like this: {{#tag:syntaxhighlight|
| | <li><translate>Insert the SD card and watch for a new device appearing in lsblk</translate></li> |
| | <li><translate>Observe the output for the new device. It should match something like this:</translate> |
| | {{#tag:syntaxhighlight| |
| NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
| mmcblk0 179:0 0 29.7G 0 disk | | mmcblk0 179:0 0 29.7G 0 disk |
| └─mmcblk0p1 179:1 0 29.5G 0 part /run/media/user/FFFF-FFFF | | └─mmcblk0p1 179:1 0 29.5G 0 part /run/media/user/FFFF-FFFF |
| |lang=text}} | | |lang=text}}</li> |
| # Take note of the name of the device that now appears. In our example above, it was <code>mmcblk0</code>, but it could show up as <code>sda</code> or <code>sdb</code>, if you use a USB adapter
| | <li><translate>Take note of the name of the device that now appears. In our example above, it was <code>mmcblk0</code>, but it could show up as <code>sda</code> or <code>sdb</code>, if you use a USB adapter</translate>< |
| #* If <code>RO</code> is set to 1, make sure the lock switch is not slid down
| | <ul><li><translate>If <code>RO</code> is set to 1, make sure the lock switch is not slid down</translate></li></ul></li> |
| # Hit CTRL + C to exit the menu
| | <li><translate>Hit CTRL + C to exit the menu</translate></li> |
| # Install the <code>parted</code> and <code>dosfstools</code> packages using your package manager of choice
| | <li><translate>Install the <code>parted</code> and <code>dosfstools</code> packages using your package manager of choice</translate></li> |
| # Type <code>sudo parted /dev/<device name> mklabel msdos</code>
| | <li><translate>Type <code>sudo parted /dev/<device name> mklabel msdos</code></translate></li> |
| # Type <code>sudo parted -a opt /dev/<device name> mkpart primary fat32 0% 100%</code>
| | <li><translate>Type <code>sudo parted -a opt /dev/<device name> mkpart primary fat32 0% 100%</code></translate></li> |
| # Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition
| | <li><translate>Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition</translate> |
| #* If the SD card is over 32GB in size, change <code>64</code> to <code>128</code>
| | <ul><li><translate>If the SD card is over 32GB in size, change <code>64</code> to <code>128</code></translate></li></ul></li> |
| # Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card
| | <li><translate>Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card</translate></li> |
| # 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
| | <li><translate>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</translate></li> |
| | </ol> |
| </span> | | </span> |
|
| |
|
|
| |
|
| |-|KDE Partition Manager= | | |-|<translate>KDE Partition Manager</translate>= |
|
| |
|
| <span> | | <span> |
| # Make sure your SD card is '''not''' inserted
| | <ol> |
| # Open KDE Partition Manager, inputting your password as needed
| | <li><translate>Make sure your SD card is '''not''' inserted</translate></li> |
| # Insert your SD card and click <code>Refresh Devices</code>. The new device that shows up in the left pane is your SD card
| | <li><translate>Open KDE Partition Manager, inputting your password as needed</translate></li> |
| # Click your SD card, then click the <code>New Partition Table</code> button at the top of the window
| | <li><translate>Insert your SD card and click <code>Refresh Devices</code>. The new device that shows up in the left pane is your SD card</translate></li> |
| # When asked, choose <code>Ms-Dos</code>. Do '''NOT''' use <code>GPT</code>
| | <li><translate>Click your SD card, then click the <code>New Partition Table</code> button at the top of the window </translate></li> |
| #* [[File:KDE Partition Manager - MBR.png]]
| | <li><translate>When asked, choose <code>Ms-Dos</code>. Do '''NOT''' use <code>GPT</code></translate><br>[[File:KDE Partition Manager - MBR.png]]</li> |
| # Right click the <code>unallocated</code> space in the right pane and select <code>New</code>
| | <li><translate>Right click the <code>unallocated</code> space in the right pane and select <code>New</code></translate></li> |
| # When selecting your filesystem, choose <code>FAT32</code> from the drop-down menu. The window should look like this:
| | <li><translate>When selecting your filesystem, choose <code>FAT32</code> from the drop-down menu. The window should look like this: </translate><br>[[File:KDE Partition Manager - New Partition.png]]</li> |
| #* [[File:KDE Partition Manager - New Partition.png]]
| | <li><translate>Click <code>OK</code>, then click <code>Apply</code>, then <code>Apply Pending Operations</code></translate></li> |
| # Click <code>OK</code>, then click <code>Apply</code>, then <code>Apply Pending Operations</code>
| | <li><translate>Eject and reinsert your SD card</translate></li> |
| # Eject and reinsert your SD card
| | <li><translate>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</translate></li> |
| # 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
| | </ol> |
| </span> | | </span> |
|
| |
|
| Line 92: |
Line 101: |
|
| |
|
| <span> | | <span> |
| # Make sure your SD card is '''not''' inserted
| | <ol> |
| # Open GNOME Disks
| | <li><translate>Make sure your SD card is '''not''' inserted</translate></li> |
| # Insert your SD card
| | <li><translate>Open GNOME Disks</translate></li> |
| # In the application sidebar, select your SD card
| | <li><translate>Insert your SD card</translate></li> |
| # Select the "Drive Options" hamburger menu (closest to the Power and Eject icons)
| | <li><translate>In the application sidebar, select your SD card</translate></li> |
| # Select "Format Disk..."
| | <li><translate>Select the "Drive Options" hamburger menu (closest to the Power and Eject icons)</translate></li> |
| # In the window that appears, set the "Partitioning" drop-down menu to "Compatible with all systems and devices (MBR / DOS)"
| | <li><translate>Select "Format Disk..."</translate></li> |
| # Select "Format..."
| | <li><translate>In the window that appears, set the "Partitioning" drop-down menu to "Compatible with all systems and devices (MBR / DOS)"</translate></li> |
| # Carefully read the warning given, then select "Format"
| | <li><translate>Select "Format..."</translate></li> |
| # At the bottom of the "Volumes" bar, select "Create partition in unallocated space" (the button with a plus sign)
| | <li><translate>Carefully read the warning given, then select "Format"</translate></li> |
| # Drag the slider all the way to the maximum capacity
| | <li><translate>At the bottom of the "Volumes" bar, select "Create partition in unallocated space" (the button with a plus sign)</translate></li> |
| # Make sure "Extended Partition" is '''not''' checked, then select "Next"
| | <li><translate>Drag the slider all the way to the maximum capacity</translate></li> |
| # Under "Type", select "For use with all systems and devices (FAT)", then click "Create"
| | <li><translate>Make sure "Extended Partition" is '''not''' checked, then select "Next"</translate></li> |
| | <li><translate>Under "Type", select "For use with all systems and devices (FAT)", then click "Create"</translate></li> |
| | </ol> |
| </span> | | </span> |
| </tabber> | | </tabber> |