
- #Virtualbox boot from usb install
- #Virtualbox boot from usb update
- #Virtualbox boot from usb full
- #Virtualbox boot from usb Pc
- #Virtualbox boot from usb windows
Each BIOS has its own menu so this explanation is generic :įind the boot menu and put USB devices before Hard drives/CD for the boot order.
#Virtualbox boot from usb Pc
Power on your PC and quickly press the corresponding keyboard key to access the BIOS.
#Virtualbox boot from usb windows
Shutdown Windows and insert your USB key in one of your PC's USB port (preferably a rear one for a desktop PC). Booting your PC from your LinuxLive USB key:
#Virtualbox boot from usb full
VirtualBox.exe: will launch the full VirtualBox interfaceīe aware that persistence CAN'T be used in VirtualBox. Virtualize_This_Key.exe: will directly launch your Linux in Windows (inside VirtualBox). You should see a folder called VirtualBox. Using your LinuxLive USB key directly within windows: In both methods, it is exactly the same Linux that is booted. You now have two possibilities: the first one is to boot your Linux directly in Windows (=virtualization), the second one being to boot your PC from your LinuxLive USB key. #Virtualbox boot from usb update
This will force Windows to check the autorun of the key and update the icon. Just boot the new VM, press F12 and choose the bootable drive.Your LinuxLive USB key should now be ready! Thank you for using LinuxLive USB Creator.ĭon't forget to share LiLi with your friends if you liked it :-)īefore going any further, properly unplug your USB device then reconnect it. But it must be attached to an IDE controller. Now, you just have to attach the usb.vmdk disk to a Virtual Machine.
#Virtualbox boot from usb install
If your VirtualBox install is running OK, than this owner would be, probably, you: sudo chown `whoami`:`whoami`. It just means change the file owner to an user that are in vboxusers group. Now, give permissions to the created disk in order VirtualBox can access the file. vdi disks created the former way (or from the image file) I tried also dd the USB stick to an image file and create the. Now you have a usb.vmdk disk created from your bootable USB stick. the USB stick) to a VirtualBox disk sudo VBoxManage convertfromraw /dev/sdb.
vmdk disk by converting the raw device (i.e.
Insert USB stick and identify it (mine is /dev/sdb, running Sabayon Linux) Ĭreate a. Here it is (thanks to Gean Santos for the research): I chmod and chown the usb.vmdk disk, and so I was able to attach it to a VM but it simply didn't work.įinally, I tried another solution and this one has worked flawlessly. So I tried to point the USB stick to a VMDK disk (as in Terrance answer) by creating vboxmanage internalcommands createrawvmdk -filename ~/usb.vmdk -rawdisk /dev/sdb I don't want to use Plop Boot Manager, because my USB stick is already bootable. Then you MUST REBOOT your system in order for the changes to take effect. It is as dangerous as having sudo access to write to a raw disk. Note: Adding your user to the disk group can be dangerous and a security risk. To add your user to the disk group, run the following command: To add your user to the vboxusers group, run the following command: sudo usermod -a -G vboxusers username vmdk file to your VirtualBox Virtual Machine and make sure that you can boot to it. Then all you should have to do is to add the. Take ownership of the new file: sudo chown $USER:$USER ~/usb.vmdk Note: Some people have had issues of ownership of the newly created file. Then you should see something similar to this: RAW host disk access VMDK file /home/ravan/usb.vmdk created successfully. Or sudo VBoxManage internalcommands createrawvmdk -filename ~/usb.vmdk -rawdisk /dev/sdb vmdk file that points to the USB drive: sudo vboxmanage internalcommands createrawvmdk -filename ~/usb.vmdk -rawdisk /dev/sdb Next, type in the following from a terminal window to create the. So, the physical drive would be /dev/sdb. We are going to assume that your drive is mounted as /dev/sdb1. Not every situation is the same so this may not work for every case.įirst, you need to have your USB you created in your system, and determine what the physical drive is. This can be helpful if there is persistence on the USB that you want to keep. This also does not copy the USB drive to the hard drive and uses the USB directly. You MUST also add your account to the disk group as well, or you cannot add the. NOTE: You MUST add your user account to the vboxusers group for VirtualBox to see your USB. vmdk file that points to your USB drive for booting to it. Since VirtualBox does not boot to USB drives, you can create a. I am looking into if the raw disk can be created from the UUID of the drive instead as that will not change. When you reboot your computer for any changes please remove the USB drive prior to rebooting. It was /dev/sdi before I rebooted, after reboot it was /dev/sdc. Leaving the USB drive in the computer when you reboot can change the /dev/sd drive letter designation causing the raw usb.vmdk file to point to the incorrect drive so it does not boot in VirtualBox.