Page 1 of 1

Boot from USB error

Posted: 6. Jan 2011, 20:26
by asker2
I am searching for a way to boot from USB.
I have found the possibility via rawdisk and with plobt.
Plobt:
It doesn't find a boot device, although my bootable usb stick is plugged in. (USB 2.0 disabled)

rawdisk gives the following error:

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -fi
lename C:\Users\n\Desktop\boot.vmdk -rawdisk \\.\PhysicalDrive1
VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive1': VERR_ACCES
S_DENIED
VBoxManage.exe: error: The raw disk vmdk file was not created
#

I have also run as administrator, it haven't helped.
What can I do?

Re: Boot from USB error

Posted: 6. Jan 2011, 20:59
by Perryg
VirtualBox does not support booting from USB.

Re: Boot from USB error

Posted: 7. Jan 2011, 09:46
by asker2
But some people have already booted from USB.
The instruction is for VirtualBox and seems to be working, but I always get an error creating the rawdisk.

Re: Boot from USB error

Posted: 7. Jan 2011, 15:55
by mpack
Raw disk access is a dangerous, expert level feature (see the user manual). IMHO, anybody who needs to ask how to use it... should not be using it.

Re: Boot from USB error

Posted: 7. Jan 2011, 16:10
by asker2
I know, but it is very nerving to restart the computer everytime I want to test my USB boot stick.
Why didn't find the Plobt a boot device, in another thread, some people told, that it worked.

Re: Boot from USB error

Posted: 7. Jan 2011, 16:18
by asker2
Now it's working with Plobt after restarting the computer.
Because USB 2.0 has to be disabled it is very slow, but for testing enough.

Re: Boot from USB error

Posted: 7. Feb 2012, 12:01
by jenni
asker2 wrote:Now it's working with Plobt after restarting the computer.
Because USB 2.0 has to be disabled it is very slow, but for testing enough.

I have the same ploblem:
"VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive1': VERR_ACCES
S_DENIED"

but I don't know what do you mean "Now it's working with Plobt after restarting the computer."

Re: Boot from USB error

Posted: 21. Nov 2012, 17:14
by istic
I sloved my problem with error message
"VBoxManage.exe: error: Cannot open the raw disk '\\.\physicaldrive1': VERR_FILE_
NOT_FOUND
VBoxManage.exe: error: The raw disk vmdk file was not created"


My solution :
1.my situation: VBox 4.24 + guest os (Win XP SP3);
2.use command "diskmgmt.msc" to check USB drive number, mine is diver1;
3. then rejected the USB disk in the guest OS (Win XP);
4. Type the command VBoxManage.exe to open the raw disk and create the "usbdisk.vmdk"
The final message is
"D:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -fi
lename G:\VBox-XP\usbdisk.vmdk -rawdisk \\.\physicaldrive1
RAW host disk access VMDK file G:\VBox-XP\usbdisk.vmdk created successfully."

Note!. The raw disk cannot be read and create ,if you don't disable or reject it from guest OS.