Boot from USB error

This is for discussing general topics about how to use VirtualBox.
Post Reply
asker2
Posts: 4
Joined: 6. Jan 2011, 20:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Live CDs

Boot from USB error

Post 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?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Boot from USB error

Post by Perryg »

VirtualBox does not support booting from USB.
asker2
Posts: 4
Joined: 6. Jan 2011, 20:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Live CDs

Re: Boot from USB error

Post 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.
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: Boot from USB error

Post 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.
asker2
Posts: 4
Joined: 6. Jan 2011, 20:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Live CDs

Re: Boot from USB error

Post 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.
asker2
Posts: 4
Joined: 6. Jan 2011, 20:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Live CDs

Re: Boot from USB error

Post 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.
jenni
Posts: 1
Joined: 7. Feb 2012, 11:53

Re: Boot from USB error

Post 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."
istic
Posts: 2
Joined: 21. Nov 2012, 16:51

Re: Boot from USB error

Post 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.
Post Reply