How to boot from USB drive in VirtualBox - Tutorial

Discussion in 'sandboxing & virtualization' started by Mrkvonic, Feb 12, 2024.

  1. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,248
    Something nice and slightly risky today: a tutorial explaining how to attach raw devices like bootable external USB drives as storage medium to VirtualBox, including word of caution, how to correctly identify physical hardware, how to create, map, and add raw device files to virtual machines, how to resolve errors around permissions and groups, testing with Rufus-created bootable media, some other tips and tricks, and more. Have fun.

    https://www.dedoimedo.com/computers/virtualbox-raw-disk.html


    Cheers,
    Mrk
     
  2. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,681
    Location:
    Philippines
    I've been doing this using "vboxmanage internalcommands createrawvmdk" so long I did not knew you could do it with "vboxmanage createmedium". I like this method better, since it is documented.
     
  3. Mrkvonic

    Mrkvonic Linux Systems Expert

    Joined:
    May 9, 2005
    Posts:
    10,248
    The old command also works - I think they just cleaned it up a bit.
    Mrk
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.