Formatting an SD card/Linux/fr: Difference between revisions
From Hacks Guide Wiki
More actions
Created page with "Tapez <code>sudo mkfs.vfat /dev/<nom de la partition> -s 64</code> pour reformater la nouvelle partition" |
Created page with "Installez les paquets <code>fdisk</code> et <code>dosfstools</code> avec le gestionnaire de paquets de votre choix" |
||
| Line 73: | Line 73: | ||
<li>Tapez <code>sudo parted -a opt /dev/<nom de l'appareil> mkpart primary fat32 0% 100%</code></li> | <li>Tapez <code>sudo parted -a opt /dev/<nom de l'appareil> mkpart primary fat32 0% 100%</code></li> | ||
<li>Tapez <code>sudo mkfs.vfat /dev/<nom de la partition> -s 64</code> pour reformater la nouvelle partition | <li>Tapez <code>sudo mkfs.vfat /dev/<nom de la partition> -s 64</code> pour reformater la nouvelle partition | ||
<ul><li> | <ul><li>Si la carte SD fait plus de 32 Go en taille, remplacez <code>64</code> par <code>128</code></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">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> | <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> | ||