Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
fdisk [Le 12/10/2020, 14:33] 78.203.218.4 [Modifier les partitions] |
fdisk [Le 27/01/2025, 12:52] (Version actuelle) 81.255.178.243 Problème d'alignement dans le help de sdb de l'exemple. |
||
|---|---|---|---|
| Ligne 18: | Ligne 18: | ||
| [root@localhost /]# fsck /dev/hda5 | [root@localhost /]# fsck /dev/hda5 | ||
| - | [root@localhost /]# mount -t ext2 /dev/hda5 /usr/local | + | [root@localhost /]# mount -t ext2 /dev/hda5 /usr/local |
| </code> | </code> | ||
| ===== Utilisation ===== | ===== Utilisation ===== | ||
| Ligne 54: | Ligne 54: | ||
| </note> | </note> | ||
| - | <note tip>les options suivantes sont accessible après un : <code>sudo fdisk /dev/sda</code> (pour toutes opération sur le disque sda) </note> | + | <note tip>Les options suivantes sont accessibles après un : <code>sudo fdisk /dev/sda</code> (pour toutes opération sur le disque sda) </note> |
| === Informations sur le disque selectionné === | === Informations sur le disque selectionné === | ||
| Ligne 88: | Ligne 88: | ||
| <note tips> | <note tips> | ||
| - | Ensuite, il est souvent nécessaire de formater la partition. (ATTENTION SUPPRIME TOUTES LES DONNEES SUR LA PARTITION !) | + | Ensuite, il est souvent nécessaire de formater la partition. (ATTENTION SUPPRIME TOUTES LES DONNÉES SUR LA PARTITION !) |
| Par exemple pour obtenir une partition ext4 : | Par exemple pour obtenir une partition ext4 : | ||
| <code> | <code> | ||
| Ligne 97: | Ligne 97: | ||
| === Supprimer une partition === | === Supprimer une partition === | ||
| - | On utilise la commande **d**. Fdisk demande quel partition il doit supprimer (sauf si qu'une seule partition est présente). | + | On utilise la commande **d**. Fdisk demande quelle partition il doit supprimer (sauf si une seule partition est présente). |
| <code> | <code> | ||
| Command (m for help): d | Command (m for help): d | ||
| Ligne 174: | Ligne 174: | ||
| o copy the partition over another partition | o copy the partition over another partition | ||
| k creates a filesystem on a partition | k creates a filesystem on a partition | ||
| - | f fix partition order | + | f fix partition order |
| g create an IRIX (SGI) partition table | g create an IRIX (SGI) partition table | ||
| p print the partition table | p print the partition table | ||
| Ligne 200: | Ligne 200: | ||
| ===== Voir aussi ===== | ===== Voir aussi ===== | ||
| - | [[http://debian-facile.org/doc:systeme:fdisk|Documentation complémentaire fdisk]] sur wiki.debian-facile.org. | + | [[https://debian-facile.org/doc:systeme:fdisk|Documentation complémentaire fdisk]] sur wiki.debian-facile.org. |