インストールメディア から クリンインストール後 VER UP 時等に「回復パーティション」の容量不足で複数の「回復パーティション」が作成される事を回避する
原因
インストールメディア で クリーンインストールした場合 「回復パーティション」のサイズが 450MB しか確保されないので VER UP 等で容量不足に成り複数作成される
手順
インストール前に手動で必用なパーティションを作成後インストールを行う
インストールメディア で BOOT
インストール 画面が表示された状態で Shift + F10 で コマンドプロンプト を表示
DIR で USB メモリ の ドライブレター を確認
DiskPart /s F:\CreatePartitions-UEFI.txt
ドライブレター (F)を USB のドライブレター に変更
ファイル名(CreatePartitions-UEFI)を 覚えやすい UEFI 等に変更しておく
DiskPart /s X:\UEFI.txt を実行 (X はドライブレター で任意に変更)
EXIT でコマンドプロンプトを終了させて インストール を続行
パラメーター
UEFI
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 **
rem format quick fs=fat32 label="System" Original
format quick fs=fat32
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 shrink minimum=500 Original
rem 1024*3=3GB
shrink minimum=3072
rem ** NOTE: Update this size to match the
rem size of the recovery tools
rem (winre.wim) plus free space **
rem == c. Prepare the Windows partition =========
rem format quick fs=ntfs label="Windows"
format quick fs=ntfs
assign letter="W"
rem === 4. Recovery tools partition ================
create partition primary
rem format quick fs=ntfs label="Recovery tools" Original
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
exit
BIOS
rem == CreatePartitions-BIOS.txt ==
rem == These commands are used with DiskPart to
rem create three partitions
rem for a BIOS/MBR-based computer.
rem Adjust the partition sizes to fill the drive
rem as necessary. ==
select disk 0
clean
rem == 1. System partition ======================
create partition primary size=100
rem format quick fs=ntfs label="System" original
format quick fs=ntfs
assign letter="S"
active
rem == 2. Windows partition =====================
rem == a. Create the Windows partition =======
create partition primary
rem == b. Create space for the recovery tools
rem shrink minimum=500 original
rem 1024*3=3GB
shrink minimum=3072
rem ** NOTE: Update this size to match the
rem size of the recovery tools
rem (winre.wim) **
rem == c. Prepare the Windows partition ======
rem format quick fs=ntfs label="Windows" original
format quick fs=ntfs
assign letter="W"
rem == 3. Recovery tools partition ==============
create partition primary
rem format quick fs=ntfs label="Recovery" original
format quick fs=ntfs
assign letter="R"
set id=27
list volume
exit
* 回復パーティション サイズを 3GB に設定、此で当面の間は複数の 回復パーティションが作成される事(容量不足)はない筈
参考情報