casmb.blogg.se

How to use virtualbox to boot usb in linux
How to use virtualbox to boot usb in linux









how to use virtualbox to boot usb in linux how to use virtualbox to boot usb in linux

Search: VirtualBox Boot USB with wmdk virtual disk. do not forget to run VirtualBox in elevated (if host is Windows).

how to use virtualbox to boot usb in linux

So inside VirtualBOX you only need a small Virtual Hard Disk (just for Grub2, no need of a working Linux) that will boot the Grub2 bootloader.īeware, if you want to boot Windows from that external drive, better use de trick of creating a Virtual Hard disk that point to real external hard disk (the file is a vmdk). Seach for grub2-install and parameters -boot-directory and -efi-directory (in case you want EFI booting). You can, there are various ways, one implies using a VirtualCD iso image that will let you jump to USB booting another one implies creating a special virtual hard disk VMDK that point to you real external HDD (technically it is not booting from USB, it is booting from a VirtualHDD whose sectors are on the USB one).īut if you are up to configure Grub2, why on the hell you need a full mini distro? Just use a small 8MiB (also a 2Mib can be enought) with Grub2 and put on grub.cfg a menu to load OS from USB drive, all drives (fixed, internal, external, usb are seen by Grub2 in the same way).











How to use virtualbox to boot usb in linux