UEFI/GPTディスクの推奨パーティション

提供:FirstWiki
ナビゲーションに移動 検索に移動

パーティション レイアウト

UEFI ベースの PC の既定のパーティション レイアウトは、システム パーティション、MSR、Windows パーティション、回復ツールのパーティションです。

Disk 0 default partiotion layout (UEFI-based PCs)

  1. System
  2. MSR
  3. Windows
  4. Recovery

このレイアウトにより、Windows と Windows 回復環境の両方から Windows BitLocker ドライブ暗号化を使用できます。

サンプル スクリプト

  1. Windows 10 インストール USB に以下のスクリプトを保存する
rem == CreatePartitions-UEFI.txt ==
rem == These commands are used with DiskPart to
rem    create four partitions
rem    for a UEFI/GPT-based PC.
rem    Adjust the partition sizes to fill the drive
rem    as necessary. ==
select disk 0
clean
convert gpt
rem == 1. System partition =========================
create partition efi size=100
rem    ** NOTE: For Advanced Format 4Kn drives,
rem               change this value to size = 260 ** 
format quick fs=fat32 label="System"
assign letter="S"
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows partition ========================
rem ==    a. Create the Windows partition ==========
create partition primary 
rem ==    b. Create space for the recovery tools ===
rem       ** Update this size to match the size of
rem          the recovery tools (winre.wim)
rem          plus some free space.
shrink minimum=1024
rem ==    c. Prepare the Windows partition ========= 
format quick fs=ntfs label="Windows"
assign letter="W"
rem === 4. Recovery tools partition ================
create partition primary
format quick fs=ntfs label="Recovery tools"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
exit
  1. インストールUSBからコマンドを起動しパーティション操作
DiskPart /s D:\CreatePartitions-UEFI.txt
  1. 再度、USB起動しラベル:Windows にインストールする