You are not logged in.

#1 2017-06-23 14:04:55

areuz
Member
Registered: 2016-09-16
Posts: 60

Setting up Win10 EFI guest (Virtualbox)

I already posted this to virtualbox.org forum, and got no response - I know this doesn't quite fit Arch forums, but I got nowhere else to go.

VB Version: 5.1.22 r115126
I successfully installed Windows 10 that boots in EFI mode, now I'm trying to make VirtualBox boot into this installation.

Disk layout (lsblk -f):

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_OS

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:

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-6ffdd09ef14b

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 with bootmgr on a separate parition) --and KVM just didn't work at all.

EDIT: Forgot to attach screenshot
t9ntooKm.png

Last edited by areuz (2017-06-23 14:15:38)


If I'm not a bush, I'm not no one.
Dotfiles Git

Offline

Board footer

Powered by FluxBB