|
|
| Line 1: |
Line 1: |
| Esta es una sección complementaria para formatear una tarjeta SD a FAT32. | | Esta es una sección complementaria para formatear una tarjeta SD a FAT32. |
| | |
| | <div lang="en" dir="ltr" class="mw-content-ltr"> |
| | This page is for Linux users only. If you are not on Linux, check out the [[Special:MyLanguage/Formatting an SD card/Windows|Windows]] or [[Special:MyLanguage/Formatting an SD card/Mac|Mac]] pages. |
| | </div> |
| | |
| | <div lang="en" dir="ltr" class="mw-content-ltr"> |
| | == Instructions == |
| | </div> |
| | {{warning|text=<span lang="en" dir="ltr" class="mw-content-ltr">Before beginning these steps, copy all of your SD card's contents to a folder on your computer.</span>}} |
| | |
| | {{warning|<span lang="en" dir="ltr" class="mw-content-ltr">The commands in this guide are case-sensitive. Enter them exactly as written, or there may be unintended consequences.</span>}} |
| | <tabber> |
| | |-|fdisk= |
| | |
| | <span> |
| | <ol> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure your SD card is '''not''' inserted</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Open a terminal window and type <code>watch lsblk</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Insert the SD card and watch for a new device appearing in lsblk</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Observe the output for the new device. It should match something like this:</span> |
| | {{#tag:syntaxhighlight| |
| | 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 |
| | |lang=text}}</li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">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</span> |
| | <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">If <code>RO</code> is set to 1, make sure the lock switch is not slid down</span></li></ul></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Hit CTRL + C to exit the menu</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo umount /dev/<device name>*</code> (do not replace the <code>*</code>)</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Install the <code>fdisk</code> and <code>dosfstools</code> packages using your package manager of choice</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo fdisk /dev/<device name></code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Enter <code>o</code>, this will create a new MBR partition scheme</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Enter <code>n</code>, then press enter until you're returned to the prompt</span> |
| | <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">The default values will work fine for all consoles</span></li></ul></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Enter <code>t</code>, then enter <code>0c</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Enter <code>a</code> and then <code>p</code> - observe the output, and make sure the device is now formatted correctly:</span> |
| | {{#tag:syntaxhighlight| |
| | 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) |
| | |lang=text}}</li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">If there are no issues, enter <code>w</code> - this will save changes and exit the fdisk prompt</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition</span> |
| | <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">If the SD card is over 32GB in size, change <code>64</code> to <code>128</code></span></li></ul></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">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</span></li> |
| | </ol> |
| | </span> |
| | |
| | |
| | |-|parted= |
| | |
| | <span> |
| | <ol> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure your SD card is '''not''' inserted</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Open a terminal window and type <code>watch lsblk</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Insert the SD card and watch for a new device appearing in lsblk</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Observe the output for the new device. It should match something like this:</span> |
| | {{#tag:syntaxhighlight| |
| | 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 |
| | |lang=text}}</li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">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</span>< |
| | <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">If <code>RO</code> is set to 1, make sure the lock switch is not slid down</span></li></ul></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Hit CTRL + C to exit the menu</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Install the <code>parted</code> and <code>dosfstools</code> packages using your package manager of choice</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo parted /dev/<device name> mklabel msdos</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo parted -a opt /dev/<device name> mkpart primary fat32 0% 100%</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo mkfs.vfat /dev/<partition name> -s 64</code> to reformat the new partition</span> |
| | <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">If the SD card is over 32GB in size, change <code>64</code> to <code>128</code></span></li></ul></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Type <code>sudo eject /dev/<device name></code>, then remove and reinsert the SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">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</span></li> |
| | </ol> |
| | </span> |
| | |
| | |
| | |-|<span lang="en" dir="ltr" class="mw-content-ltr">KDE Partition Manager</span>= |
| | |
| | <span> |
| | <ol> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure your SD card is '''not''' inserted</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Open KDE Partition Manager, inputting your password as needed</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Insert your SD card and click <code>Refresh Devices</code>. The new device that shows up in the left pane is your SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Click your SD card, then click the <code>New Partition Table</code> button at the top of the window</span> </li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">When asked, choose <code>Ms-Dos</code>. Do '''NOT''' use <code>GPT</code></span><br>[[File:KDE Partition Manager - MBR.png]]</li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Right click the <code>unallocated</code> space in the right pane and select <code>New</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">When selecting your filesystem, choose <code>FAT32</code> from the drop-down menu. The window should look like this:</span> <br>[[File:KDE Partition Manager - New Partition.png]]</li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Click <code>OK</code>, then click <code>Apply</code>, then <code>Apply Pending Operations</code></span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Eject and reinsert your SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">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</span></li> |
| | </ol> |
| | </span> |
| | |
| | |-|<span lang="en" dir="ltr" class="mw-content-ltr">Disks (GNOME)</span>= |
| | |
| | <span> |
| | <ol> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure your SD card is '''not''' inserted</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Open Disks</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Insert your SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">In the application sidebar, select your SD card</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Select the "Drive Options" hamburger menu (closest to the Power and Eject icons)</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Select "Format Disk..."</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">In the window that appears, set the "Partitioning" drop-down menu to "Compatible with all systems and devices (MBR / DOS)"</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Select "Format..."</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Carefully read the warning given, then select "Format"</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">At the bottom of the "Volumes" bar, select "Create partition in unallocated space" (the button with a plus sign)</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Drag the slider all the way to the maximum capacity</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Make sure "Extended Partition" is '''not''' checked, then select "Next"</span></li> |
| | <li><span lang="en" dir="ltr" class="mw-content-ltr">Under "Type", select "For use with all systems and devices (FAT)", then click "Create"</span></li> |
| | </ol> |
| | </span> |
| | </tabber> |
| | {{hg imported|Guide_3DS}} |
| | |
| | [[Category:General guides]] |