Boot Windows 10 from SSD drive

Discussions related to using VirtualBox on Mac OS X hosts.

Re: Boot Windows 10 from SSD drive

Postby Ninad » 6. Oct 2018, 11:05

Hi socrtis,

Yes, I noticed that the thread belongs to OSX hosts. But it was your config that attracted my attention! :-)

I think it's my usb key not being compatible with Windows to Go. At least that's what microsoft says. I will explore workarounds and keep trying.

Thank you!

-Ninad
Ninad
 
Posts: 14
Joined: 29. Feb 2016, 15:58

Re: Boot Windows 10 from SSD drive

Postby paulrw » 28. Jan 2019, 05:01

Hi,

I wanted to resurrect this thread, because I'm attempting the same thing—Macbook Pro with Windows on an SSD drive.

I'm created a vmdk with the full /dev/disk2. disk2 contains 2 partitions: EFI and BOOTCAMP. I've set permissions on disk2 with
Code: Select all   Expand viewCollapse view
sudo chmod og+rw /dev/disk2

When I run the VM, I get only a black screen.

I've tried enabling and disabling EFI. I've also tried creating a vmdk of the EFI partition and another vmdk of the BOOTCAMP partition, and mounting various combinations of those two and the whole disk2 vmdk. I've tried switching from SATA to IDE. Still, only a black screen.

 Edit: Not a black screen—just won't boot. See below 

Any suggestions would be welcome!

 Edit: I changed graphics controller settings from VBoxSVGA to VBoxVGA, and I could see more than a black screen. I get either the UEFI boot screen (when EFI is enabled), or "No bootable medium found!" (when EFI is disabled). When I boot directly from the SSD (holding option key), Windows does boot. But I can't get the raw disk to boot in Virtualbox. 
paulrw
 
Posts: 2
Joined: 12. Jul 2015, 02:11

Re: Boot Windows 10 from SSD drive

Postby lmnv » 31. Mar 2019, 23:32

Hi
i have been following the instructions but I keep getting an error when trying to create the vmdk file.
I have a Macbook pro with mojave
I have installed windows 10 to go in a external ssd disk, I can boot my Mac under windows with the external SSD with no issues at all, thru EFI
The windows 10 to go was installed using Rufus, I did not use any VM software at all.
I would like to boot my SSD within MacOS using VirtualBox, and for that I have followed the instructions with no luck
I have run the following commands
sudo VBoxManage internalcommands createrawvmdk -filename “/users/apple/Windows10disk.vmdk" -rawdisk /dev/disk2

but when I execute it just doesn't do any all, when I try to run it again I get the error
VBoxManage: error: sudo VBoxManage internalcommands createrawvmdk -filename “Windows10disk.vmdk'
VBoxManage: error: Error code VERR_FILE_NOT_FOUND at /Users/vbox/tinderbox/6.0-mac-rel/src/VBox/Storage/VMDK.cpp(3393) in function int vmdkCreateRawImage(PVMDKIMAGE, const PVDISKRAW, uint64_t)
VBoxManage: error: Cannot create the raw disk VMDK: VERR_FILE_NOT_FOUND
VBoxManage: error: The raw disk vmdk file was not created
Last edited by socratis on 1. Apr 2019, 06:38, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
lmnv
 
Posts: 3
Joined: 31. Mar 2019, 23:25

Re: Boot Windows 10 from SSD drive

Postby socratis » 1. Apr 2019, 07:08

You should try to use the utility mentioned in "VBoxRawdisk - a macOS utility to generate rawdisk VMDKs", whose info I just updated.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25292
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Boot Windows 10 from SSD drive

Postby lmnv » 3. Apr 2019, 01:11

Thks, the tool helped me, and now I do have a vmdk, but....I started the virtual machine, and I only get a black screen, although on the top bar window I can see the legend windows running.
Last edited by socratis on 3. Apr 2019, 01:22, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
lmnv
 
Posts: 3
Joined: 31. Mar 2019, 23:25

Re: Boot Windows 10 from SSD drive

Postby granada29 » 3. Apr 2019, 05:54

lmnv wrote:Thks, the tool helped me ...

Nice to know that the tool worked for you.

Try changing the Display setting to VBoxVGA. Black screen is a symptom of the new, but somewhat buggy, VBoxSVGA driver.
granada29
 
Posts: 77
Joined: 3. Mar 2015, 07:27

Re: Boot Windows 10 from SSD drive

Postby socratis » 3. Apr 2019, 07:02

Or even better, post a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image


PS. Bryan, I hope you don't mind me updating the "VBoxRawdisk - a macOS utility to generate rawdisk VMDKs" post with the updated info... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25292
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Boot Windows 10 from SSD drive

Postby lmnv » 3. Apr 2019, 13:30

Socrates
I am attaching the log file as you asked.
again thanks for your support
Attachments
Windows 10-2019-04-03-08-27-18.log.zip
(33.18 KiB) Downloaded 9 times
lmnv
 
Posts: 3
Joined: 31. Mar 2019, 23:25

Re: Boot Windows 10 from SSD drive

Postby granada29 » 3. Apr 2019, 22:17

socratis wrote:PS. Bryan, I hope you don't mind me updating the "VBoxRawdisk - a macOS utility to generate rawdisk VMDKs" post with the updated info... ;)


Thanks for doing that - saved me from having forgotten to do it myself :)
granada29
 
Posts: 77
Joined: 3. Mar 2015, 07:27

Previous

Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Google [Bot] and 17 guests