Difference between revisions of "Install/Prepare Disk/fr"

From Funtoo
Jump to navigation Jump to search
(Created page with "<includeonly> == Prepare Disk == </includeonly><noinclude><languages/> = Guide d'installation : Préparer le disque = {{InstallNavigation|num=2|prev=Download LiveCD|next=MBR...")
 
(Updating to match new version of source page)
 
(8 intermediate revisions by 2 users not shown)
Line 6: Line 6:
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning}}</noinclude>
{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning}}</noinclude>


In this section, you will need to choose a disk format to use for booting and partitioning -- either MBR or UEFI/GPT. If you are not familiar with the differences between these options, please review our [[Install/Disk Formats|Disk Formats]] page for an overview of each option and the trade-offs. Generally, it's usually safe to pick the legacy MBR method for system disks under 2TB in size and most modern PC systems support MBR as well as UEFI booting.
<div class="mw-translate-fuzzy">
Dans cette section, vous devrez choisir un format de disque à utiliser pour le démarrage et le partitionnement -- soit MBR ou UEFI/GPT. Si vous ne connaissez pas les différences entre ces options, veuillez consulter notre page  [[Install/Disk Formats|Disk Formats]] pour un aperçu de chaque option et des compromis. En général, il est généralement sûr de choisir l'ancienne méthode de MBR pour les disques système de moins de 2 To et la plupart des systèmes PC modernes prennent en charge le MBR ainsi que le démarrage UEFI.
</div>


==== But First... ====
<div lang="en" dir="ltr" class="mw-content-ltr">
MBR is the traditional way of booting a PC. It works by installing executable code on the boot sector of your hard drive, which starts the boot process. When you use MBR to boot, you must have BIOS booting enabled in your BIOS, use traditional MBR partitions on your disk which are created using the {{c|fdisk}} tool.
</div>


Before doing anything to your disks, make sure you are partitioning the right one. Use the {{c|lsblk}} command to view a list of all block devices on your system, as well as partitions on these block devices:
<div lang="en" dir="ltr" class="mw-content-ltr">
UEFI is the more modern way to boot a PC. It works using a boot loader that is built into your computer. Boot entries are created and stored in your computer's non-volatile memory. When you use UEFI to boot, you must have UEFI enabled in your BIOS, and use more modern GPT partitions which are created using the {{c|gdisk}} tool.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
Generally, it's usually safe to pick the legacy MBR method for system disks under 2TB in size and most modern PC systems support MBR as well as UEFI booting.
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
{{note|For more information on differences between MBR and UEFI, see our [[Install/Disk Formats|Disk Formats]] page for an overview of each option and the trade-offs.}}
</div>
 
==== Mais d'abord... ====
 
Avant de faire quoi que ce soit à vos disques, assurez-vous que vous partitionnez le bon. Utilisez la commande {{c|lsblk}} pour afficher une liste de tous les périphériques de bloc sur votre système, ainsi que les partitions sur ces périphériques de bloc:


{{console|body=
{{console|body=
Line 23: Line 41:
}}
}}


{{Note|If you're not sure which disks are which, you can use {{c|lsblk -o MODEL,NAME,SIZE}} to show the device models matching the {{c|/dev/sd?}} names.}}
<div class="mw-translate-fuzzy">
{{Note|Si vous n'êtes pas sûr de savoir quels disques sont lesquels, vous pouvez utiliser {{c|lsblk -o MODEL,NAME,SIZE}} pour afficher les modèles d'appareils correspondant aux noms. {{c|/dev/sd?}}
</div>


Make sure you will not be overwriting any important data and that you have chosen the correct {{c|/dev/sd?}} device. Above, you can see that SATA disk {{c|sda}} contains three partitions, {{c|sda1}}, {{c|sda2}} and {{c|sda3}}, and that {{c|sda3}} contains LVM volumes. If you are using an NVME disk, then you may see {{c|nvem0n1}} as your disk, and your partitions (if any exist yet) will be named {{c|nvme0n1p1}}, {{c|nvme0n1p2}}, etc. If you are installing on microSD Card for Raspberry Pi, your disk will likely be {{c|mmcblk0}} and partitions will have suffixes {{c|p1}}, {{c|p2}}, etc.  
<div lang="en" dir="ltr" class="mw-content-ltr">
Make sure you will not be overwriting any important data and that you have chosen the correct {{c|/dev/sd?}} device. Above, you can see that SATA disk {{c|sda}} contains three partitions, {{c|sda1}}, {{c|sda2}} and {{c|sda3}}, and that {{c|sda3}} contains LVM volumes. If you are using an NVME disk, then you may see {{c|nvme0n1}} as your disk, and your partitions (if any exist yet) will be named {{c|nvme0n1p1}}, {{c|nvme0n1p2}}, etc. If you are installing on microSD Card for Raspberry Pi, your disk will likely be {{c|mmcblk0}} and partitions will have suffixes {{c|p1}}, {{c|p2}}, etc.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.
Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.
</div>
<noinclude>{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning|align=right}}</noinclude>
<noinclude>{{InstallNavigation|num=2|prev=Download LiveCD|next=MBR Partitioning|align=right}}</noinclude>

Latest revision as of 16:31, March 21, 2024

Other languages:
English • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎中文(台灣)‎

Guide d'installation : Préparer le disque

Install Guide, Chapter 2 < Prev Next >

Dans cette section, vous devrez choisir un format de disque à utiliser pour le démarrage et le partitionnement -- soit MBR ou UEFI/GPT. Si vous ne connaissez pas les différences entre ces options, veuillez consulter notre page Disk Formats pour un aperçu de chaque option et des compromis. En général, il est généralement sûr de choisir l'ancienne méthode de MBR pour les disques système de moins de 2 To et la plupart des systèmes PC modernes prennent en charge le MBR ainsi que le démarrage UEFI.

MBR is the traditional way of booting a PC. It works by installing executable code on the boot sector of your hard drive, which starts the boot process. When you use MBR to boot, you must have BIOS booting enabled in your BIOS, use traditional MBR partitions on your disk which are created using the fdisk tool.

UEFI is the more modern way to boot a PC. It works using a boot loader that is built into your computer. Boot entries are created and stored in your computer's non-volatile memory. When you use UEFI to boot, you must have UEFI enabled in your BIOS, and use more modern GPT partitions which are created using the gdisk tool.

Generally, it's usually safe to pick the legacy MBR method for system disks under 2TB in size and most modern PC systems support MBR as well as UEFI booting.

   Note

For more information on differences between MBR and UEFI, see our Disk Formats page for an overview of each option and the trade-offs.

Mais d'abord...

Avant de faire quoi que ce soit à vos disques, assurez-vous que vous partitionnez le bon. Utilisez la commande lsblk pour afficher une liste de tous les périphériques de bloc sur votre système, ainsi que les partitions sur ces périphériques de bloc:

root # lsblk
NAME          MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda             8:0    0  1.8T  0 disk 
├─sda1          8:1    0  512M  0 part 
├─sda2          8:2    0    8G  0 part [SWAP]
└─sda3          8:3    0  1.8T  0 part 
  ├─main-root 254:0    0  500G  0 lvm  /
  └─main-data 254:1    0  1.3T  0 lvm  /home

{{Note|Si vous n'êtes pas sûr de savoir quels disques sont lesquels, vous pouvez utiliser lsblk -o MODEL,NAME,SIZE pour afficher les modèles d'appareils correspondant aux noms. /dev/sd?

Make sure you will not be overwriting any important data and that you have chosen the correct /dev/sd? device. Above, you can see that SATA disk sda contains three partitions, sda1, sda2 and sda3, and that sda3 contains LVM volumes. If you are using an NVME disk, then you may see nvme0n1 as your disk, and your partitions (if any exist yet) will be named nvme0n1p1, nvme0n1p2, etc. If you are installing on microSD Card for Raspberry Pi, your disk will likely be mmcblk0 and partitions will have suffixes p1, p2, etc.

Once you've double-checked your target block device and made sure you'll be partitioning the correct disk, proceed to the next step.

Install Guide, Chapter 2 < Prev Next >