Vista: Boot on USB key

Discussions related to using VirtualBox on Windows hosts.
Post Reply
gregseth
Posts: 2
Joined: 6. Mar 2013, 13:56

Vista: Boot on USB key

Post by gregseth »

Hi,

I made a vmdk file to use my bootable USB key as a raw disk, using the command:

Code: Select all

VBoxManage internalcommands createrawvmdk -filename usb.vmdk -rawdisk \\.\PhysicalDrive2
When I start the virtual machine I have the bootloading screen, then a freeze. The log says, repeatedly:

Code: Select all

PIIX3 ATA: LUN#0: disk write error (rc=VERR_ACCESS_DENIED iSector=0x966434 cSectors=0x6)
I've seen many forum posts telling to set the disk offline with DISKPART, but when I try, I get an error saying that the operation is not supported for removable drives.
What can I do?

Host : Windows Vista 32bits
Guset: Ubuntu 12.10 32bits
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Vista: Boot on USB key

Post by mpack »

Your Vista host disables raw (sector level) access to all drives. AFAIK there was no workaround prior to Win7, however I may be wrong, in which case you may wish to read:-

Enabling raw access to Win7 / Win2k8 disks.
viewtopic.php?f=6&t=38914#p175089
gregseth
Posts: 2
Joined: 6. Mar 2013, 13:56

Re: Vista: Boot on USB key

Post by gregseth »

Yeah, I saw that one, it didn't work.

Thanks anyway.
Post Reply