how can I install a VM from a "usb disk image"?

Discussion in 'Other Guest OS Types Discussion' started by dch, Nov 20, 2019.

  1. dch

    dch Bit Poster

    Messages:
    9
  2. mmika

    mmika Kilo Poster

    Messages:
    488
    You can create en empty VM, then add second virtual hard disk into configuration but uncheck "Expanding disk" during creation process.
    The size of new virtual hard disk must be greater or equal to FreeBSD-12.1-RELEASE-amd64-mini-memstick.img
    Then you need to replace contents of newly created empty hard disk. Since "Expanding disk" was unchecked it will be disk with plain raw data.
    You can copy FreeBSD-12.1-RELEASE-amd64-mini-memstick.img to this virtual hard disk bundle as it's image
    or better run dd command, something like "dd if=FreeBSD-12.1-RELEASE-amd64-mini-memstick.img of=
    FreeBSD-1.hdd/FreeBSD-1.hdd.0.\{5fbaabe3-6958-40ff-92a7-860e329aab41\}.hds bs=1m conv=notrunc"
    Then try to boot VM.
     
  3. dch

    dch Bit Poster

    Messages:
    9
    thanks @mmika I'm a bit puzzled as to why this common task isnt available in the UI but I can live with this. Thanks for your help!
     
  4. BentonK

    BentonK Bit Poster

    Messages:
    3
    To install a VM from a USB disk image, you will need to use a virtualization software like VMware or VirtualBox. Once you have the desired software installed, you can create a new virtual machine and select the USB disk image as the source to install the VM from. Depending on the software, you may need to use an ISO image or VHD file that contains the OS you want to install. After the virtual machine has been created, the installation process should be fairly straightforward.
     

Share This Page