Virtualbox: make "copy file to dom0" instructions generic

This commit is contained in:
taradiddles 2018-03-19 10:37:59 +02:00
parent b4f2695593
commit 3e685507f6

View File

@ -233,16 +233,16 @@ Convert vmdk to raw:
qemu-img convert -O raw *.vmdk win10.raw qemu-img convert -O raw *.vmdk win10.raw
~~~ ~~~
Create new HVM in Dom0, with amount of RAM in MB you wish: Copy the root image file to a temporary location in Dom0:
~~~ ~~~
qvm-create --hvm win10 --label red --mem=4096 qvm-run --pass-io untrusted 'cat "/media/user/externalhd/win10.raw"' > /home/user/win10-root.img
~~~ ~~~
Copy file to Dom0: Create a new HVM in Dom0 with the root image we just copied to Dom0 (change the amount of RAM in GB as you wish):
~~~ ~~~
qvm-run --pass-io untrusted 'cat "/media/user/externalhd/win10.raw"' > /var/lib/qubes/appvms/win10/root.img qvm-create --hvm win10 --label red --mem=4096 --root-move-from /home/user/win10-root.img
~~~ ~~~
Start win10 VM: Start win10 VM: