So - with Qubes OS 4.2 just around the corner, I did [yet another] a reinstall of my MacBook Pro [A1708] with 4.1.2 to test the OP issues.
When I just picked the default LVM during install, I got a broken system, with
2023-12-17 19:04:02.512+0000: libxl: libxl_device.c:1146:device_backend_callback: Domain 5:unable to add device with path /local/domain/3/backend/vif/5/0
2023-12-17 19:04:02.512+0000: libxl: libxl_create.c:1938:domcreate_attach_devices: Domain 5:unable to add vif devices
2023-12-17 19:05:33.798+0000: libxl: libxl_pci.c:1489:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:00:14.0
2023-12-17 19:05:38.724+0000: libxl: libxl_pci.c:1489:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:00:14.0
in libxl-driver.log
- and trying lspci | grep '0000:00:14.0'
didn’t find anything promissing:
[root@dom0 ~]# lspci | grep 14
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
So I did a reinstall, picking “Custon - LVM (auto)” but ended almost the same place – this time the “INITIAL SETUP” failed to start, because the partition information in dom0:/root/anaconda-ks.cfg
had changed from
ignoredisk --only-use=nvme0n1
autopart --encrypted
# Partition clearing information
clearpart --none --initlabel
to
ignoredisk --only-use=nvme0n1
# Partition clearing information
clearpart --none --initlabel
# Disk partitioning information
part pv.490 --fstype="lvmpv" --ondisk=nvme0n1 --size=237147 --encrypted --luks-version=luks2
part /boot --fstype="ext4" --ondisk=nvme0n1 --size=1024
part /boot/efi --fstype="macefi" --ondisk=nvme0n1 --size=600 --label=Linux HFS+ ESP
volgroup qubes_dom0 --pesize=4096 pv.490
logvol none --fstype="ext4" --size=20480 --thinpool --metadatasize=24 --chunksize=64 --name=root-pool --vgname=qubes_dom0
logvol swap --fstype="swap" --size=4027 --name=swap --vgname=qubes_dom0
logvol / --fstype="ext4" --grow --size=1024 --thin --poolname=root-pool --name=root --vgname=qubes_dom0
and dom0:/usr/libexec/initial-setup/initial-setup-graphical
really doesn’t like/parse spaces in a label. The easy fix was to either add "
around the label ("Linux HFS+ ESP"
) or simply remove the HFS+ ESP
. The libxl-driver.log
now had
2023-12-17 19:51:15.356+0000: libxl: libxl_device.c:1146:device_backend_callback: Domain 4:unable to add device with path /local/domain/2/backend/vif/4/0
2023-12-17 19:51:15.356+0000: libxl: libxl_create.c:1938:domcreate_attach_devices: Domain 4:unable to add vif devices
and the installation was still broken. :-/
Finally I installed and picked Custom - BTRFS (auto)
– the “INITIAL SETUP” still fails, since the partition information is:
ignoredisk --only-use=nvme0n1
# Partition clearing information
clearpart --none --initlabel
# Disk partitioning information
part /boot/efi --fstype="macefi" --ondisk=nvme0n1 --size=600 --label=Linux HFS+ ESP
part btrfs.1030 --fstype="btrfs" --ondisk=nvme0n1 --size=233119 --encrypted --luks-version=luks2
part swap --fstype="swap" --ondisk=nvme0n1 --size=4028 --encrypted --luks-version=luks2
part /boot --fstype="ext4" --ondisk=nvme0n1 --size=1024
btrfs none --label=qubes_dom0 btrfs.1030
btrfs / --subvol --name=root LABEL=qubes_dom0
– but after removing the HFS+ ESP
I can run the initial setup from a dom0
terminal and have working sys-net
/ sys-firewall
/ sys-usb
:
sudo sed -i 's/ HFS+ ESP//' /root/anaconda-ks.cfg
sudo /usr/libexec/initial-setup/initial-setup-graphical
The build-in wifi doesn’t work [out of the box], so I’m using an USB network to write this - but I’ll probably play around with Qubes OS 4.2 and see if I can the internal WiFi working – I’ve already tested it with both Fedora 39 and Debian 12, so it’s a matter of some configuration …