MBRをGPTに変換する
MBRをGPTに変換する
手順
2017 Windows 10 Creators UpdateにはブートセクタをMBRからGPTに変換するツールが搭載 ~現行マシンを再インストールせずにUEFIブートに - PC Watch
実際にやる
CドライブがMBRであることを確認する
パーティションがMBRかGPTかを調べる
code:powershell
PS C:\WINDOWS\system32> mbr2gpt /validate /disk:0 /allowfullos
MBR2GPT: Attempting to validate disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
MBR2GPT: Validation completed successfully
PS C:\WINDOWS\system32> mbr2gpt /convert /disk:0 /allowfullos
MBR2GPT will now attempt to convert disk 0.
If conversion is successful the disk can only be booted in GPT mode.
These changes cannot be undone!
MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
MBR2GPT: Trying to shrink the OS partition
MBR2GPT: Creating the EFI system partition
MBR2GPT: Installing the new boot files
MBR2GPT: Performing the layout conversion
MBR2GPT: Migrating default boot entry
MBR2GPT: Adding recovery boot entry
MBR2GPT: Fixing drive letter mapping
MBR2GPT: Conversion completed successfully
Call WinReReapir to repair WinRE
MBR2GPT: Failed to update ReAgent.xml, please try to manually disable and enable WinRE.
MBR2GPT: Before the new system can boot properly you need to switch the firmware to boot to UEFI mode!
https://gyazo.com/a0726ef45663c07e49394280261a1fac
ReAgent.xml
/takker/自作マシン (Define R6)状況メモ#63195dee1280f0000086e9c6
読み飛ばしていたので気づかなかった
Windows RE
https://docs.microsoft.com/ja-jp/windows-hardware/manufacture/desktop/windows-recovery-environment--windows-re--technical-reference?view=windows-11
、reagentcコマンドでWinREをON/OFFする。
dynabook R63/UのSSDをmbr2gpt.exeを用いてMBRからGPTに変換。UEFI BIOS有効化 (r271-635)