Translations by azmaeve

azmaeve has submitted the following strings to this translation. Contributions are visually coded: currently used translations, unreviewed suggestions, rejected suggestions.

11 of 1 result
123.
The <command>partman</command> partitioner will handle most disk layouts. For those rare cases where it is necessary to manually set up a disk, you can use the shell as described above and run the <command>parted</command> utility directly using its command line interface. Assuming that you want to erase your whole disk and create a GPT table and some partitions, then something similar to the following command sequence could be used: <informalexample><screen> mklabel gpt mkpartfs primary fat 0 50 mkpartfs primary linux-swap 51 1000 mkpartfs primary ext2 1001 3000 set 1 boot on print quit </screen></informalexample> This creates a new partition table, and three partitions to be used as an EFI boot partition, swap space, and a root file system. Finally it sets the boot flag on the EFI partition. Partitions are specified in Megabytes, with start and end offsets from the beginning of the disk. So, for example, above we created a 1999MB ext2 file system starting at offset 1001MB from the start of the disk. Note that formatting swap space with <command>parted</command> can take a few minutes to complete, as it scans the partition for bad blocks.
2006-08-31
Le outil de partitionnement <command>partman</command> manipulera la plupart des disques. Pour les rares occasions où il est nécessaire de configurer manuellement un disque, vous pouvez utiliser le shell comme décrit ci-dessus et lancez directement l'utilitaire <command>parted</command> en ligne de commandes. Considérant que vous voulez effacer votre disque entier et créer une table GPT et quelques partitions, ensuite quelque chose de semblable devrait s'afficher: <informalexample><screen>↵ mklabel gpt↵ mkpartfs primary fat 0 50↵ mkpartfs primary linux-swap 51 1000↵ mkpartfs primary ext2 1001 3000↵ set 1 boot on↵ print↵ quit↵ </screen></informalexample> Ceci créé une nouvelle table des partitions, ainsi que trois partitions utilisé comme partition de démarrage EFI, mémoire virtuelle, et raçine du système de fichiers. Enfin cela configure le boot flag de la partition EFI. Les partitions sont spécifié en Mégaoctets, avec les offset de début et de fin depuis le début du disque. Par exemple, précédemment nous avons créé une partition ext2 de 1999M0 démarrant à l'offset 1001Mo en partant du début du disque. Notez que formater le volume de mémoire virtuelle avec <command>parted</command> peut prendre quelques minutes du fait qu'il scan la partition afin de trouver les blocs défectueux.