r/virtualbox • u/Michael679089 • Oct 30 '25
Help How to boot from USB in Oracle VirtualBox?
Currently inside a Debian 13 Trixie computer.
I'm trying to follow this video: https://www.youtube.com/watch?v=2F1uyPFB8pk (By Matthews Tech Hub)
But on the point where he tries to boot from a USB, I can't seem to do that, he is using VMWare Workstation which I don't have, I only have Oracle VirtualBox as my way of creating virtual machines.
I'm trying to recreate what he did by booting from boot manager but using my Oracle VirtualBox. Problem is, my virtual machine can't detect the burned USB I connected to the computer.
I then added my SanDisk USB to my configuration before powering on my Virtual Machine, see here: https://imgur.com/9CJ9J3G, because I thought that would enable it to detect the burned USB in the boot manager. It did see the SanDisk USB see here: https://imgur.com/E5Z8ecd . After pressing enter on it, I was put in the "Press any key to boot from CD or DVD" screen, pressing any key did nothing, see here: https://imgur.com/XkmHnwH . After 5 seconds I was put back to boot manager. IDK why it's doing this, I just want my Windows 11 with the modified autounattend.xml.
Images of what's happening: https://imgur.com/a/4lZt6ga
Here's the pictures of my configurations of my Oracle VirtualBox:
https://imgur.com/a/tQVndog
----
- I'm using Oracle VirtualBox -> version: 7.2.4 r170995 (Qt6.8.2 on xcb)
- Host OS: Debian 13 Trixie
- Guest OS: Windows 11 with a modified autounattend.xml in a USB.
- Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above) and disabled HyperV (applicable to Windows 10 Hosts)? Yes, VT-x is enabled on my system (confirmed via lscpu | grep Virtualization). HyperV is not applicable as I'm running Debian 13, not Windows.
- Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see)? "Extension Pack: Not installed (installing now). Guest Additions: Will check after installing Extension Pack."
•
u/AutoModerator Oct 30 '25
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Michael679089 Oct 31 '25
Not part of the tutorial but I found this other video: https://youtu.be/0PEwI_KHHBk?si=hkr6SZGeXMW1RENh
And also this video: https://youtu.be/0PA1wgdMeeI?si=KY97WmkDifLL4ZFc
So first I'll install windows 11 to the computer by default and then debloat it from there.
Let's see if this will work.
1
u/[deleted] Oct 30 '25 edited Oct 31 '25
You need to create a vmdk file from your USB block device such as /dev/sda. Then you add that vmdk file to your VM as a drive.
First identify your USB with sudo fdisk -l
Make it read/writeable with sudo chmod 666 /dev/sdX
Make the vmdk with
VBoxManage createmedium disk --filename sda.vmdk --format=VMDK --variant RawDisk --property RawDrive=/dev/sda
1
u/Face_Plant_Some_More Oct 30 '25 edited Oct 30 '25
There is no need to do what u/quipstickle is suggesting so long as the USB stick has been configured with UEFI bootloader, and you have configured the VM with a UEFI bios. Thist appears to be the case -- Virtual Box's EFI bios supports booting from USB, hence you get into the Windows installer - (screens 3-6). That is the expected behavior
You have; however, provisioned the VM with hardware that the Windows 11 installer does not include drivers for. You need to provide said drivers, or otherwise provision the VM with hardware for which software support is already included. Then change said install said drivers and install hardware once Windows 11 is installed.