How to get Virtualbox booting over PXE while EFI is enabled?
-
@x23piracy said in How to get Virtualbox booting over PXE while EFI is enabled?:
I co
PLEASE LOOK AT HERE
-
- Download gpt-fdisk (gdisk) for Windows.
- Copy the binary to a known location.
- Boot into Windows Recovery Environment.
- If you don’t have one, download Windows10ISO from: https://www.microsoft.com/en-in/softw…
- Create a bootable USB by following https://www.youtube.com/watch?v=Q8gQu… or by burning the ISO to a DVD.
- Shutdown Windows and boot using this media (Legacy or UEFI Mode).
- Get to the command prompt. Either by pressing Shift+F10 or by navigating to it.
- Go to diskpart and find out the disk identifier for your Windows installation.
diskpart
list disk
sel disk X
list par - Navigate to the location where gdisk binary is kept and type:
gdisk -l X: (Replace X with the disk number)
This will list out the partitions available in the disk. Make sure this is the one your want to convert. - Now, convert the partition table from MBR to GPT.
gdisk X:
Type w to write changes. Press Y whenever prompted. - Type the following commands:
diskpart
sel disk X (Replace X with the disk number)
list par
Now we make some space for our EFI partition
Note the partition number of the partition which you want to shrink
sel par X (Replace X with the partition number)
You may delete the System Reserved partition and replace it with the EFI partition. To do that, type:
sel par X (Replace X with the System Reserved Partition)
del par override
The shrink command is not required if you do the above two commands.
I’ll just go ahead and shrink. 500MB extra doesn’t matter to me
shrink desired = 200 minimum = 200
The following commands are common:
create par efi
format fs = fat32 quick # Format this with fat32 file system
assign letter = Z:
exit