Outils pour utilisateurs

Outils du site


tech:table_de_partitions_gpt

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
tech:table_de_partitions_gpt [2025/04/24 15:20] – modification externe 127.0.0.1tech:table_de_partitions_gpt [2025/04/24 15:20] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon GPT Block}}
 +
 +# Table de partitions GPT
 +
 +Voir :
 +* gdisk https://expertoracle.com/2020/01/06/nochange-partition-1-could-only-be-grown-by-1-fudge2048-error-when-extending-a-disk-partition/
 +
 +Supprimer uniquement la table des partitions en conservant la MBR
 +
 +Install de gdisk (GPT fdisk)
 +~~~bash
 +apt-get install gdisk
 +~~~
 +
 +Suppression de la table GPT - zap GPT
 +~~~bash
 +sgdisk --zap /dev/sdb
 +~~~
 +
 +Supprimer toutes les signatures
 +~~~bash
 +/sbin/wipefs -a -f /dev/sda
 +~~~
 +
 +## Autres
 +
 +~~~
 +# sfdisk /dev/sda
 +/dev/sda   /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda4  /dev/sda5  /dev/sda6  /dev/sda7
 +
 +# sfdisk -d /dev/sda
 +label: gpt
 +label-id: 4A520514-FBFF-49E2-93CD-024C6EE848EA
 +device: /dev/sda
 +unit: sectors
 +first-lba: 34
 +last-lba: 209715038
 +
 +/dev/sda1 : start=        2048, size=    97654784, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=763DFFAB-5D82-4843-8F38-746AA9D6D2EE, name="root"
 +/dev/sda2 : start=    97656832, size=    39061504, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=0D3A7314-4DC6-4D63-8AD2-A5B514F9FE90, name="home"
 +/dev/sda3 : start=   136718336, size=     9764864, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=91287ED7-760D-405B-ABE7-C7F8FD59DF6B, name="usr"
 +/dev/sda4 : start=   146483200, size=     9764864, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=CA22ECC9-7839-4EE6-8F23-CC67A55D3F8A, name="var"
 +/dev/sda5 : start=   156248064, size=     9764864, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=6D2E0210-27B3-4979-B85B-DCBF2F63BC38, name="tmp"
 +/dev/sda6 : start=   166012928, size=     9764864, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=BC2EAA0E-BFF8-4311-B738-8DEC70F0DA91, name="usr/local"
 +/dev/sda7 : start=   175777792, size=     9764864, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=EA73FFAD-DB9B-476B-B40F-DAF95DFF0C14, name="efi"
 +
 +# gdisk -l /dev/sda
 +GPT fdisk (gdisk) version 1.0.3
 +
 +Partition table scan:
 +  MBR: protective
 +  BSD: not present
 +  APM: not present
 +  GPT: present
 +
 +Found valid GPT with protective MBR; using GPT.
 +Disk /dev/sda: 209715072 sectors, 100.0 GiB
 +Model: PERC H330 Adp
 +Sector size (logical/physical): 512/512 bytes
 +Disk identifier (GUID): 4A520514-FBFF-49E2-93CD-024C6EE848EA
 +Partition table holds up to 128 entries
 +Main partition table begins at sector 2 and ends at sector 33
 +First usable sector is 34, last usable sector is 209715038
 +Partitions will be aligned on 2048-sector boundaries
 +Total free space is 24174397 sectors (11.5 GiB)
 +
 +Number  Start (sector)    End (sector)  Size       Code  Name
 +              2048        97656831   46.6 GiB    8300  root
 +          97656832       136718335   18.6 GiB    8300  home
 +         136718336       146483199   4.7 GiB     8300  usr
 +         146483200       156248063   4.7 GiB     8300  var
 +         156248064       166012927   4.7 GiB     8300  tmp
 +         166012928       175777791   4.7 GiB     8300  usr/local
 +         175777792       185542655   4.7 GiB     EF00  efi
 +~~~
 +
 +
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki