4.RC2 CANT create / install VM from local iso

288 views
Skip to first unread message

Outback Dingo

unread,
Oct 27, 2017, 11:26:01 AM10/27/17
to qubes-users
So we need updated docs or somethings broken...

i copied the iso to /home/user from the AppVM tried to create an hvm
appvm got a unrecognized argument... ok
then tried without --hvm... seems ok.... however..... qvm-start
results in a traceback....

[dingo@dom0 ~]$ qvm-create BSD --hvm --label blue
usage: qvm-create [-h] [--verbose] [--quiet] [--class CLS]
[--property NAME=VALUE] [--pool VOLUME_NAME=POOL_NAME]
[-P POOL_NAME] [--template VALUE] [--label VALUE]
[--help-classes]
[--root-copy-from FILENAME | --root-move-from FILENAME]
[VMNAME]
qvm-create: error: unrecognized arguments: --hvm
[dingo@dom0 ~]$ qvm-create BSD --label blue
sudo qvm-start BSD --cdrom=/home/dingo/FreeBSD-11.1-RELEASE-amd64-disc1.iso
Traceback (most recent call last):
File "/bin/qvm-start", line 9, in <module>
load_entry_point('qubesadmin==4.0.9', 'console_scripts', 'qvm-start')()
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 160, in main
drive_assignment = get_drive_assignment(args.app, args.drive)
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 98, in get_drive_assignment
backend_domain_name, ident = drive_str.split(':', 1)
ValueError: not enough values to unpack (expected 2, got 1)
[dingo@dom0 ~]$ qvm-start BSD
--cdrom=/home/dingo/FreeBSD-11.1-RELEASE-amd64-disc1.iso
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 9, in <module>
load_entry_point('qubesadmin==4.0.9', 'console_scripts', 'qvm-start')()
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 160, in main
drive_assignment = get_drive_assignment(args.app, args.drive)
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 98, in get_drive_assignment
backend_domain_name, ident = drive_str.split(':', 1)
ValueError: not enough values to unpack (expected 2, got 1)
[dingo@dom0 ~]$ qvm-start BSD
--cdrom=/home/dingo/FreeBSD-11.1-RELEASE-amd64-disc1.iso
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 9, in <module>
load_entry_point('qubesadmin==4.0.9', 'console_scripts', 'qvm-start')()
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 160, in main
drive_assignment = get_drive_assignment(args.app, args.drive)
File "/usr/lib/python3.5/site-packages/qubesadmin/tools/qvm_start.py",
line 98, in get_drive_assignment
backend_domain_name, ident = drive_str.split(':', 1)
ValueError: not enough values to unpack (expected 2, got 1)

[user@personal dom0]$

Roy Bernat

unread,
Oct 28, 2017, 3:49:19 AM10/28/17
to qubes-users

You dont need to use --hvm . it is the default in version 4.
Regarding the cdrom i have also the same issue it seems that this switch has beed deprecated .....


Roy

Foppe de Haan

unread,
Oct 28, 2017, 5:27:36 AM10/28/17
to qubes-users

try qubes-vm-boot-from-device or qvm-start VMNAME --cdrom=VMNAME:/path ; or use the interface from the second page of the VM settings GUI.

Foppe de Haan

unread,
Oct 28, 2017, 5:29:49 AM10/28/17
to qubes-users

(Btw, if you type qvm-<tab><tab>, or qubes-<tab><tab>, bash spits out a list of commands starting with those characters; you can usually find the command you are looking for that way; beyond that, --help or 'man qvm-command' will also provide hints as to available switches, except in the case of qvm-pci currently.)

Filip Magic

unread,
Oct 28, 2017, 1:25:33 PM10/28/17
to qubes...@googlegroups.com
Is qubes-vm-boot-from-device working for you guys ? I'm not able to
install any OS from ISO in StandaloneVM.

lowson...@gmail.com

unread,
Nov 11, 2017, 12:05:14 PM11/11/17
to qubes-users

nope having the same issue here, it starts the VM then exits. Going to try a block device to see if that works.

rodin

unread,
Nov 11, 2017, 8:44:49 PM11/11/17
to qubes-users
Same here. VM starts and I get:

Booting from ROM
Probing EDD...ok

Then exits.

The ISO is good. I can dd>USB and it boots.

p.s. Outback Dingo, you don't need to sudo your qvm-start command.

rodin

unread,
Nov 14, 2017, 5:01:10 PM11/14/17
to qubes-users
Reply all
Reply to author
Forward
0 new messages