インストール後の設定

  1. Debian GNU/Linux 8.0(jessie) のインストール手引き

  2. インストール後の設定

  3. [付録]1 : GPT について

[付録1] GPT について

GPT(GUID Partition Table) はUEFI 環境下で用いられるパーティション管理方式です. GPT にはいくつかの特徴があります.

実際にどのようなパーティション設定になっているか確認してみましょう. 確認には今回はgdisk (GPT fdisk, fdisk はパーティション操作のためのコマンド, つまりGPT のためのパーティション操作コマンド)を使用します.

 # apt-get install gdisk
 # gdisk -l /dev/sdb [HDD が/dev/sdb と認識されている場合]
GPT fdisk (gdisk) version 0.8.5

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): E3D977E2-8AE5-4708-89F6-8AE283360AC6
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  
   2          999424      1937377279   923.3 GiB   0700  
   3      1937377280      1953523711   7.7 GiB     8200  

より詳細な情報を見るためには

 # gdisk /dev/sdb

GPT fdisk (gdisk) version 0.8.5

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: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)
Partition unique GUID: 4D6533B6-6700-4603-B979-8C6A194923C0
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: ''

と表示される(なぜか, Microsoft basic data と記述されている). また, code については

 # gdisk /dev/sdb

GPT fdisk (gdisk) version 0.8.5

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 やブラウザで検索してみよう.

>>本日のスケジュールのページへ戻る




最終更新日: 2015/05/10 (渡辺 健介) Copyright © 2000-2015 inex