Uusissa emolevyissä CSM-asetus on oletuksena pois päältä tai CSM-asetusta ei ole ollenkaan.
"CSM > Enabled" means that both UEFI and Legacy BIOS mode are enabled.
- Windows 10/11 käynnistyy sekä GPT että MBR-levyltä.
"CSM > Disabled" means that only UEFI mode is enabled.
- Windows 10/11 ei käynnisty jos Windows on asennettu MBR-levylle.
(Joo, MBR2GPT-komennolla vanhan Windows 10:n systeemilevyn voi muuntaa GPT-osiointia ja UEFI-boottia käyttäväksi - mutta se olisi pitänyt tehdä jo vanhassa koneessa, ennen levyn siirtämistä tähän koneeseen.)
Jos vanhasta koneesta siirretty Windows ei käynnisty uudessa koneessa, koska levyllä on MBR-osiotaulukko, silloin uudessa koneessa käynnistä komentokehote Windows 10/11 USB-tikulta ja suorita MBR2GPT-komento ilman "/allowFullOS" optiota.
mbr2gpt /validate
/allowfullos
mbr2gpt /validate /disk:0
/allowfullos
Testasin VMware-virtuaalikoneessa, jossa Windows 10/11 iso-tiedosto voidaan käynnistää sekä BIOS että UEFI-tilassa, vmx-tiedostoon lisää/poista: firmware = "efi"
BIOS-tilassa toimi alla olevat komennot.
mbr2gpt /validate
mbr2gpt /convert
UEFI-tilassa ei toiminut yllä olevat komennot (kuva alla): "Failed to retrieve geometry for disk -1", vaikka virtuaalikoneessa on vain yksi levy.
UEFI-tilassa toimi alla olevat komennot (kuva alla). Muuta tarvittaessa levyn numero.
mbr2gpt /validate /disk:0
mbr2gpt /convert /disk:0
Validointi tarkistaa että levy täyttää vaatimukset, esim:
- Levyllä saa korkeintaan olla kolme osiota ja levyllä ei saa olla yhtään laajennettua/loogista osiota.
- Jos järjestelmäosio (aktiivinen osio) on järjestelmän varaama osio (system reserved partition), silloin osion on oltava samalla levyllä mihin Windows on asennettu.
Disk Prerequisites
Before any change to the disk is made, MBR2GPT validates the layout and geometry of the selected disk to ensure that:
- The disk is currently using MBR
- There's enough space not occupied by partitions to store the primary and secondary GPTs:
- 16 KB + 2 sectors at the front of the disk
- 16 KB + 1 sector at the end of the disk
- There are at most three primary partitions in the MBR partition table
- One of the partitions is set as active and is the system partition
- The disk doesn't have any extended/logical partition
- The BCD store on the system partition contains a default OS entry pointing to an OS partition
- The volume IDs can be retrieved for each volume that has a drive letter assigned
- All partitions on the disk are of MBR types recognized by Windows or has a mapping specified using the /map command-line option
If any of these checks fails, the conversion doesn't proceed, and an error is returned.
Jos järjestelmän varaama osio (system reserved partition) on kooltaan vähintään 100 Mt (tai 260 Mt 4K-sektorikokoisilla levyillä), käynnistä komentokehote Windowsin USB-tikulta, koska silloin MBR2GPT-komento muuntaa järjestelmän varaama osion EFI-järjestelmäosioksi.
Creating an EFI system partition
For Windows to remain bootable after the conversion, an EFI system partition must be in place. MBR2GPT creates the EFI system partition using the following rules:
- The existing MBR system partition is reused if it meets these requirements:
- It isn't also the OS or Windows Recovery Environment partition.
- It is at least 100 MB (or 260 MB for 4K sector size disks) in size.
- It's less than or equal to 1 GB in size. This size is a safety precaution to ensure it isn't a data partition.
- The conversion isn't being performed from the full OS. In this case, the existing MBR system partition is in use and can't be repurposed.
- If the existing MBR system partition can't be reused, a new EFI system partition is created by shrinking the OS partition. This new partition has a size of 100 MB (or 260 MB for 4K sector size disks) and is formatted FAT32.
If the existing MBR system partition isn't reused for the EFI system partition, it's no longer used by the boot process after the conversion. Other partitions aren't modified.
If the existing MBR system partition isn't reused for the EFI system partition, it might be assigned a drive letter. If this small partition isn't going to be used, its drive letter must be manually hidden.
Use MBR2GPT.EXE to convert a disk from the Master Boot Record (MBR) to the GUID Partition Table (GPT) partition style without modifying or deleting data on the disk.
learn.microsoft.com
edit: Katso
tästä viestistä: "Muunna MBR-levy GPT-levyksi MBR2GPT-komennolla ilman tietojen menetystä."