Hi,
Here's the HCL for Lenovo Thinkpad P51, and complete process to get
Qubes 3.2 Linux running on this machine :
1/ You will need to install Qubes in UEFI mode, *NOT* BIOS/CSM mode
2/ In BIOS setup, disable Secure Boot and set graphics mode to DISCRETE,
otherwise the graphical installer won't start - You can set graphics
mode back to Hybrid once Qubes is installed an kernel is upgraded to
4.9.45-21.pvops.qubes.x86_64
3/ Create an ISO stick using Qubes ISO and Fedora's `livecd-iso-to-disk`
tool (Do NOT use "dd" otherwise you'r install USB won't work in EFI
mode), as explained in
https://groups.google.com/forum/#!topic/qubes-users/4VsKdxnKHBk
4/ You'll need to edit xen.cfg AND label the partition as explaine in
further comments. I did use "QUBES" instead of "BOOT" as a label, and it
works.
5/ From there on, Qubes install should be straightforward, BUT QUBES
WILL NOT BOOT AFTERWARDS, as the generation of the UEFI boot record
fails for an NVME SSD ( /dev/nvme0n1 ).
6/ To be able to boot your Qubes install, yo just need to create an
rEFINd live USB, from
http://www.rodsbooks.com/refind/getting.html (get
"A USB flash drive image file") and burn it to ans USB key using dd
7/ You can then use your Qubes 3.2 install !
8/ If you want to be able to boot without an external USB key :
a/ Install in DOM0 the following packages from Fedora 26 (gotten from
rpmfind.net) :
efibootmgr-15-1.fc26.x86_64.rpm
efivar-31-1.fc26.x86_64.rpm
efivar-libs-31-1.fc26.x86_64.rpm
b/ You cant THEN install the rEFInd RPM, and it should boot
c/ If you want to boot Qubes directly, you will have to regenerate its
UEFI boot entry using i.e.:
c1 : Deletes old, wrong, UEFI boot entry :
# efibootmgr -b 0000 -B
c2 : Create correct UEFI boot entry :
# efibootmgr -v -c -u -L Qubes3.2 -l /EFI/qubes/xen.efi -d /dev/nvme0n1
-p 1
From there on, you will have a perfectly working Qubes 3.2 install on
this machine.
Best regards.