Jump to content

Move VM from UNRAID to Ubuntu/PiOS


Recommended Posts

If you want to restore an image to a hd/sd card (bare metal):

I would restore the image to the hard disk/sd card with dd.

I would operate on the same pc booting from a live linux usb with the hard disk containing the vdisk and the empty hard disk/sd card.

The empty hard disk/sd card must be grater or equal in size than the size of the vdisk.

I would restore a raw image to the hard disk/sd card; if the image is in qcow2 format I would convert it to raw with qemu-img (you can do it in unraid):

qemu-img convert -f qcow2 -O raw /path/to/vdisk.qcow2 /path/to/save/vdisk.img

Then, use dd to restore the image:

sudo dd if=/path/to/vdisk.img of=/dev/sdX bs=10M


where sdX is the empty hard disk/sd card: this will restore all the partitions inside the vdisk image.


On the other hand, if you want to run the vdisk on another box in a vm, simply copy the vdisk image, create a new vm pointing to that vdisk.


Edited by ghost82
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...