could not read from boot medium

Discussions related to using VirtualBox on Windows hosts.
Post Reply
zys5945
Posts: 1
Joined: 10. Dec 2017, 01:10

could not read from boot medium

Post by zys5945 »

I currently have 2 NVMe ssd in my computer, one with windows installed and the other with ubuntu installed (so a dual boot)

I want to use virtualbox to boot into ubuntu, and I did the following

create the vmdk file with

VBoxManage.exe internalcommands createrawvmdk -filename ubuntu17.10_link -rawdisk \\.\PhysicalDrive1
PhysicalDrive1 is indeed the ssd ubuntu is on

create a vm and attach the created vmdk to its NVMe controller

then when I proceed the boot, I got the error specified in the title

I thought maybe it has something to do with windows permission so I ran virtualbox as admin, still no luck.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: could not read from boot medium

Post by mpack »

The error message seems straightforward. Your hosts boot manager in on \\.\PhysicalDrive0, therefore there is no MBR boot code on \\.\PhysicalDrive1. You probably need to provide VirtualBox with an MBR file.
Post Reply