I have had to use the UEFI Lenovo workaround documented at https://www.qubes-os.org/doc/uefi-troubleshooting/ so my install process has been as follows:
- dd write a checksum and signature verified Qubes-R3.2-x86_64.iso to a 32GB USB drive
- Enable legacy boot in the Thinkpad BIOS
- Boot from the USB drive
- Select "Troubleshooting" > "Boot from local disk" to enter secondary GRUB menu
- Highlight the "Verify and Install" option and press 'e'
- Add '/mapbs /noexitboot' to the 'chainloader' GRUB line
- Press ctrl-x to boot with modified config
- See successful verification of the USB drive contents and launch of Qubes 3.2 installer
- Secondarily verify the install media from the "Installation Source" GUI panel
- Configure install destination to "reclaim all space" by deleting the existing partitions and use the automatic paritioning
- Begin the install
About halfway through the progress bar, the status reads:
"Installing qubes-template-fedora-23.noarch (800/930)"
Switching to tty-1 with ctrl-alt-f1 shows the error message:
"Error unpacking rpm package qubes-fedora-23-3.0.6-201608081228.noarch"
If left along for long enough, this rpm task seems to error out completely and get skipped over to finish the rest of the installation. I then add the documented UEFI workaround to /mnt/sysimage/boot/efi/EFI/qubes/xen.cfg.
After rebooting into the Qubes install, asking the Configuration helper to set up the default system qubes (sys-net, sys-firewall) fails with an alert message:
[Dom0] Error
['/usr/bin/qubes-prefs'. '--set', 'default-template', 'fedora-23'] failed:
stdout: ""
stderr: "A VM with the name 'fedora-23' does not exist in the system."
I'm confused about why such a specific package would consistently fail to install from good installation media over multiple install runs on my laptop. I've now tried with two different USB drives and ISO files from different sources.
When running the installed Qubes, manually adding the package to dom0 with:
sudo yum install /run/media/<user>/Qubes-R3.2-x86_64/Packages/q/qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
installs successfully and provides the fedora-23 vm template in the VM Manager, from which I'm able to create a new NetVM and connect to a wired network. So that's all working, once it's in place.
I would very much like to have the default sys-net and sys-firewall qubes. The way I see it, there are two semi-automated ways to get them:
1) Re-run the firstboot qubes-anaconda-addon now that the fedora-23 vm template is installed.
2) Re-install again, manually adding the qubes-template-fedora-23 package before the reboot so that it's available for the normal firstboot process.
[Implicit option 3) Figure out and manually type the sys-net and sys-firewall creation commands by picking through the qubes-anaconda-addon source.]
Any helpful hints come to mind?
Thanks,
Evan
Thanks Fabian, that pattern held true for me as well.
Writing Qubes-R3.2-x86_64.iso with Rufus from Windows 10 had the error.
Writing Qubes-R3.2-x86_64.iso with dd from macOS to if=/dev/disk2 and if=/dev/rdisk2 had the error
Writing Qubes-R3.2-x86_64.iso with dd from the fedora-23 qube resulted in install media that worked completely.
-Evan
The Qubes 3.2 installer iso has:
.../Qubes-R3.2-x86_64/Packages/q
$ sha256sum qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
c070ecb75b2580aec594d67afc833579c52ccb20e4acf5bc1797bbc93cefde26 qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
$ sha1sum qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
cef6ddb660d0c9cb3fbee54230899ddeb2df64a6 qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
Trying to install this fails.
But the package I downloaded (from https://yum.qubes-os.org/r3.2/templates-itl/rpm/) has:
$ sha256sum qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
0b751ae1c94747f026b33767437b25f5bf0d09857430bd7c080992b61a9ca244 qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
$ sha1sum qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
5e1186e6fcd08e5b99432418655d49fa7fadf796 qubes-template-fedora-23-3.0.6-201608081228.noarch.rpm
I haven't yet tried to install this one so I'm not sure that explains anything yet, but it may be indicative of some problem.
Update: I tried installing Qubes 3.2 on my newly installed ASRock Extreme6 this morning, using a physical DVD ISO. It froze again during the Anaconda process, similar to what occurred on the Gigabyte board. The ISO passed md5sum checking so it's very odd. I'll check BIOS revs and try again.