How to get Virtualbox booting over PXE while EFI is enabled?
-
@dureal99d said in How to get Virtualbox booting over PXE while EFI is enabled?:
@Sebastian-Roth it is possible to boot uefi in virtual box but you must use the usb or cd here to boot into the uefi net boot and then install your os. your os will then boot uefi once successfully installed. I do it all the time in virtual box.
The thread is about network booting in efi
-
@x23piracy Yes, and that is the way you network boot uefi in virtual box as it does not natively uefi net boot. once you insert the usb or cd to boot from the option to network boot will appear.
-
I found the following article howto convert from mbr to gpt:
https://social.technet.microsoft.com/wiki/contents/articles/14286.converting-windows-bios-installation-to-uefi.aspxI will try this to have my current images also for efi, little bit off topic but maybe interesting.
Regards X23
-
@x23piracy ah yess. i have a bit of a better strait forward guide if youd like it?
-
@x23piracy Why?
You can still boot in UEFI with a mounted DVD, install it, schedule capture, boot in legacy network boot and capture the image. The capturing process does not need to happen in the same mode as the OS is in, itβs irrelevant for it.
-
i know that i can create my vm in efi and capture it in legacy and still have efi when deployed, but i am searching for a way to also offer the current images as efi version without renewing the images (install from scratch in efi mode).
This has not really todo with the topic i just found it useful to paste that link i found for a mbr > efi convert.
-
@x23piracy perhpas i shall do a tutorial to help you understand what iβm trying to convey to you. I understand what you are trying to do and iβm trying to tell you Iβve already done it and its possible but it appears i am confusing you.
-
@x23piracy would you be patient enough to wait until tomorrow and i can have a full video done that will show you how to fully convert and image to uefi from bios boot and the network boot via virtual box.
-
@dureal99d show me what ever will help. itβs welcome
-
@x23piracy said in How to get Virtualbox booting over PXE while EFI is enabled?:
I found the following article howto convert from mbr to gpt:
https://social.technet.microsoft.com/wiki/contents/articles/14286.converting-windows-bios-installation-to-uefi.aspxI could successfully convert a vm from mbr to efi with the guide above, it works.
-
Can someone show me please a standard gpt partition layout for windows 10?
I could convert a mbr to gpt image but there is a little free space gap on the hdd between the reserved system and little fat32 partition and the main data partition. I would like to close this gap but need to see a standard windows 10 gpt partition layout:@dureal99d how do you did that? Havenβt seen your post about the video, sure i can wait for it.
Regards X23
-
@x23piracy The standard GPT layout has 4 partitions. System Reserved (boot), Microsoft thingy (canβt remember exactly), Recovery I think? and then the Windows partition.
-
@Quazz said in How to get Virtualbox booting over PXE while EFI is enabled?:
@x23piracy The standard GPT layout has 4 partitions. System Reserved (boot), Microsoft thingy (canβt remember exactly), Recovery I think? and then the Windows partition.
Well after doing the convert from the articel i posted i have the layout below but where is the recovery partition you talk about? i want to make it like it will be after a normal install via uefi (gpt) but i need exactly how it needs to be.
Regards X23
-
@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