booting from real HD

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jjgalvez
Posts: 11
Joined: 29. Oct 2012, 02:57

booting from real HD

Post by jjgalvez »

hi all, I am beginning to suspect that what I want to do isn't possible, but wanted to post here to ask anyway. I have an dualboot laptop with win10 and Linux. What I would like to do is from Linux boot my win10 partition via virtualbox.
The steps I've taken:
1 Added myself to disk group
2 ran

Code: Select all

sudo VBoxManage internalcommands createrawvmdk -filename "realwin.vmdk" -rawdisk /dev/nvme0n1p3
3 edited realwin.vmdk permissions:

Code: Select all

sudo chown root:disk realwin.vmdk 
sudo chmod 660 realwin.vmdk 
which results in:

Code: Select all

.rw-rw----  543 root disk  29 Jul 10:19 realwin.vmdk
4 created a virtualbox machine and attached realwin.vmdk as the harddrive.

When I try to start the vm I get:

Code: Select all

FATAL: could not read from boot medium! system hualted.
Is this because I did not mount the efi partition? I know you shouldn't mount the same partition on both the host and virtualbox and since this is a dual boot setup windows and linux share the efi. So am I correct that because I can't mount the efi in virtualbox what I want to do won't work? or am I missing something?
thanks in advance
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: booting from real HD

Post by scottgus1 »

I've never tried it, but for Windows 10 VB and native, maybe viewtopic.php?f=7&t=98410
Post Reply