Setting up Win10 EFI guest
Posted: 14. May 2017, 19:43
Hey, this is going to be long, but let me explain what I'm trying to achieve.
Host: Arch Linux 64bit
VB Version: 5.1.22 r115126
I successfully installed Windows 10 that boots in UEFI mode, now I'm trying to make VirtualBox boot into this installation.
Disk layout (lsblk -f):
There are 2 problems that I can think of.
1. bootx64.efi is on sdb2, while the OS is on sdb6
2. sdb2 has to be mounted, because the Linux Kernel is on it aswell.
Just to be fair, I didn't want this. When I installed Windows 10, it literally formatted my Linux boot partition into FAT32 and put its files there, very funny Microsoft.
Anyway, I created virtual disk images using:
I added these images to my virtual machine, set it to boot from the first one, which I set as the 200MB boot partition. But after I booted into it, I got a error screen.
Any help is appreciated, I already switched from KVM, because I have experience with running OS's from disks on VB, just not in EFI and KVM just didn't work at all.
Host: Arch Linux 64bit
VB Version: 5.1.22 r115126
I successfully installed Windows 10 that boots in UEFI mode, now I'm trying to make VirtualBox boot into this installation.
Disk layout (lsblk -f):
Code: Select all
sdb
├─sdb1 ext4 Root 07a703e4-173a-4e54-b425-baa69a220a64 /
├─sdb2 vfat 2C45-FE61 /boot
├─sdb3 ext4 Home 00477b16-d04d-4cc7-bb56-32138146b74d /home
├─sdb4 swap Swap 578c2f2d-1a07-4bae-a235-dbf52dae300f [SWAP]
├─sdb5
└─sdb6 ntfs Win_OS 9292422592420E63 /media/Win_OS1. bootx64.efi is on sdb2, while the OS is on sdb6
2. sdb2 has to be mounted, because the Linux Kernel is on it aswell.
Just to be fair, I didn't want this. When I installed Windows 10, it literally formatted my Linux boot partition into FAT32 and put its files there, very funny Microsoft.
Anyway, I created virtual disk images using:
Code: Select all
VBoxManage internalcommands createrawvmdk -filename "/[somewhere]/Win_10_OS.vmdk" -rawdisk /dev/disk/by-partuuid/05dd6fb8-bc90-4cd3-9a54-e78c12fafa51
VBoxManage internalcommands createrawvmdk -filename "/[somewhere]/Win_10_Boot.vmdk" -rawdisk /dev/disk/by-partuuid/8ca0cc25-8589-4a29-924a-6ffdd09ef14bAny help is appreciated, I already switched from KVM, because I have experience with running OS's from disks on VB, just not in EFI and KVM just didn't work at all.