I tried to perform in place upgrade of Qubes OS 4.2.4 to 4.3 today and it failed now my system cannot boot there is no grub menu anymore, I get directly to a grub shell. How can I repair it? How can I get into rescue shell like dom0 shell and repair grub2-efi package?
During in place upgrade, grub2-efi failed with error:
unpacking of archive failed on file /boot/efi/EFI/BOOT/BOOTX64.EFI;6949ecba: cpio: write failed - Operation not supported
no idea why …
/boot/efi was writable no problem, and had enough space, secureboot is disabled on my system because Qubes OS it not compatible with it so I don’t understand… however I have Windows 11 on dual boot installed which I don’t use so much and havent used since months but it should not bother…?
I managed to get a valid grub menu and boot with configfile command and getting grub.cfg file from /boot partition (not /boot/efi), now still not sure how to fix it all properly with grub2-efi package but it booted, doing post-reboot steps now
it found grub2-efi-x64 2.06-7-fc41 to replace 2.06-4.fc37 and it updated successfully without errors now somehow
I also ran sudo qubes-dom0-update xfce4-screensaver then sudo dnf swap --allowerasing xscreensaver-base xfce4-screensaver to replicate the missing install step after pre-reboot failed on distro-sync for just grub2-efi-x64 (all the other packages succeeded, hence why I felt like I could maybe reboot and get away with it).
I also ran sudo authselect select local in the hope to solve pam_sss errors (minimal profile doesnt exist anymore in Fedora 41, seems local may be a replacement)
The new icons look sexy! Rebooting one last time hopefully everything is right! Thanks for update!
Hi,
Thanks a lot, this post saved my day!
I ran into issues in step 3, most likely because I ran out of space for dom0 while running step 3. So I ended up stuck with virtlogd.socket that would not start, missing files. Adding more space was easy, but recovering from an unfinished step 3 was not, until I came across your post.
systemctl preset-all resolved the virtlogd.socket problem, so from then on I was able to attempt upgrading to qubes4.3 again, which worked.
Thanks again!