GPT(GUID Partition Table) はUEFI 環境下で用いられるパーティション管理方式です. GPT にはいくつかの特徴があります.
実際にどのようなパーティション設定になっているか確認してみましょう. 確認には今回はgdisk (GPT fdisk, fdisk はパーティション操作のためのコマンド, つまりGPT のためのパーティション操作コマンド)を使用します.
# apt-get install gdisk # gdisk -l /dev/sda [HDD が/dev/sda と認識されている場合] GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdb: 1953525168 sectors, 931.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 6AE68A6D-F5CD-4F53-BA8F-F3D259D76FB9 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1953525134 Partitions will be aligned on 2048-sector boundaries Total free space is 3437 sectors (1.7 MiB) Number Start (sector) End (sector) Size Code Name 1 2048 999423 487.0 MiB EF00 EFI Boot Partition 2 999424 1937377279 923.3 GiB 8300 Debian GNU/Linux 3 1937377280 1953523711 7.7 GiB 8200 SWAP
より詳細な情報を見るためには
# gdisk /dev/sdb GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): i [ i と入力 ] Partition number (1-3): 2 [1-3 までの見たいパーティション番号を選択] Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem) Partition unique GUID: 3629EB21-5725-4A6A-9677-4D24CFE4BB54 First sector: 999424 (at 488.0 MiB) Last sector: 1937377279 (at 923.8 GiB) Partition size: 1936377856 sectors (923.3 GiB) Attribute flags: 0000000000000000 Partition name: 'Debian GNU/Linux'
と表示される. また, code については
# gdisk /dev/sdb GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Command (? for help): l [ l と入力 ]
で詳細が表示される. 他のコマンドやオプションについてはman やブラウザで検索してみよう.
最終更新日: 2022/06/24 (長野 剛流) | Copyright © 2000-2022 inex |