meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| windows:windows10:uefi_boot [2020/09/18 11:53] – created niziak | windows:windows10:uefi_boot [2026/02/03 10:39] (current) – niziak | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Convert Windows 10 installation to boot from UEFI partition. | Convert Windows 10 installation to boot from UEFI partition. | ||
| + | * Run Windows and start command prompt | ||
| + | OR | ||
| * Boot from Windows 10 ISO | * Boot from Windows 10 ISO | ||
| - | * Select '' | + | * Select '' |
| - | * Select '' | + | * Select '' |
| - | | + | |
| + | With command prompt: | ||
| + | |||
| + | <code shell> | ||
| + | mbr2gpt /validate / | ||
| + | |||
| + | disk layout failed for disk 0 | ||
| + | </ | ||
| + | |||
| + | It means that there is no space for EFI parition or MBR disk contains already 4 partitions. | ||
| + | |||
| + | The common cause is that Windows creates more recovery partitions if default is too small (created as first and cannot be expanded later). | ||
| + | So probably one used is the recovery partition just after system or data partition. In this combination Windows can expand recovery partition if needed by shrinking data partition. More info here: [[https:// | ||
| + | |||
| + | To detect which recovery is used: | ||
| + | |||
| + | <code shell> | ||
| + | diskpart | ||
| + | list disk | ||
| + | select disk 0 | ||
| + | detail disk | ||
| + | | ||
| + | ---------- | ||
| + | Volume 1 | ||
| + | Volume 2 | ||
| + | Volume 3 | ||
| + | Volume 4 NTFS | ||
| + | |||
| + | select partition 4 | ||
| + | delete partition override | ||
| + | </ | ||
| + | |||
| + | <code shell> | ||
| + | diskpart | ||
| + | list disk | ||
| + | select disk # Note: Select the disk where you want to add the EFI System partition. | ||
| + | list partition | ||
| + | select partition # Note: Select the Windows OS partition (# number) or your data partition. | ||
| + | shrink desired=100 | ||
| + | create partition efi size=100 | ||
| + | format quick fs=fat32 | ||
| + | assign letter=s | ||
| + | list partition | ||
| + | list volume Note: Note the volume letter where the Windows OS is installed. | ||
| + | exit | ||
| + | |||
| + | bcdboot X:\windows /s S: | ||
| + | bootrec / | ||
| + | </ | ||