From 31065b1daa024b1e2617b0fc83b70090637d9b4c Mon Sep 17 00:00:00 2001 From: Alex Dubois Date: Mon, 12 Feb 2018 05:52:03 +0000 Subject: [PATCH] Dom0 should be prepended with --cdrom option --- managing-os/hvm.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/managing-os/hvm.md b/managing-os/hvm.md index 66d207db..32971ea0 100644 --- a/managing-os/hvm.md +++ b/managing-os/hvm.md @@ -37,7 +37,7 @@ qvm-create win7 --hvm --label green The name of the domain ("win7") as well as its label ("green") are just exemplary of course. -**Note:** To create a StandaloneVM in Qubes 4, use the --class option, as VMs are template-based by default +**Note:** To create a StandaloneVM in Qubes R4, use the --class option, as VMs are template-based by default ~~~ qvm-create win7 --class StandaloneVM --property virt_mode=hvm --property kernel="" --property memory=4096 --property maxmem=4096 --property debug=True --label green @@ -53,12 +53,12 @@ libvirt.libvirtError: invalid argument: could not find capabilities for arch=x86 Now we need to install an OS inside this VM. This can be done by attaching an installation ISO to and starting the VM (this can currently only be done from command line, but in the future we will surely add an option to do this also from the manager): ~~~ -qvm-start win7 --cdrom=/usr/local/iso/win7_en.iso -or qvm-start win7 --cdrom=TempIsoVM:/home/user/win7.iso +or +qvm-start win7 --cdrom=dom0:/usr/local/iso/win7_en.iso ~~~ -The above first command assumes the installation ISO was transferred to Dom0 (copied using `dd` command from an installation CDROM for example). The second is for when the iso is in another VM. If one wishes to use the actual physical media without copying it first to a file, then one can just pass `/dev/cdrom` as an argument to `--cdrom`: +The above first command assumes the installation ISO was transferred to a TempIsoVM (copied using `dd` command from an installation CDROM for example). The second is for when the iso is in Dom0, which is not recommanded. If one wishes to use the actual physical media without copying it first to a file, then one can just pass `/dev/cdrom` as an argument to `--cdrom`: ~~~ qvm-start win7 --cdrom=/dev/cdrom