Q4.2 Post Install hold until boot process finishes

Hello Qubes Forum!
I have been troubleshooting trying to install Qubes 4.2 on my machine, which has already been running Q4.1 for over a year. I am not doing an in-place upgrade as I still need to utilize my main install while troubleshooting. I will be attempting an in-place after I successfully get an install running on a separate drive.

I am able to proceed through the Install, all the way up till the Initial Startup where it installs the template qubes etc. After installing and rebooting, I am brought to a screen that says
LightDM.service …
start hold until boot process finishes

This brought me to this thread here
https://forum.qubes-os.org/t/start-hold-until-boot-process-finishes-blackscreen-or-reboot-after-decryption-post-install/15561

Apparently for them there is a PCI device interfering with startup in the sys-usb qube, and the fix is to skip the initial startup, remove the PCI device from sys-usb, and then manually start the initial startup again.
I tried to do this, however quitting the initial startup reboots me and stays still at a console window, manually turning off the machine and rebooting does not bring up initial startup again but instead leaves me stuck at the start hold until boot process finishes like before.
I am not sure if I am doing this correctly, after quitting out of the startup are you supposed to reboot to get a GUI with no qubes? or remove the PCI device via console?

I then tried editing the grub config, removing QUIET and entering qubes.skip_autostart

Doing this, it is able to proceed past the start hold until boot process finishes. The console output I get looks like this
plymouth-quit-wait.service - hold until boot process finishes
Bluetooth: hci0: Waiting for firmware download to complete
Bluetooth: hci0: Firmware loaded into 1452964 usecs
Bluetooth: hci0: Waiting for device to boot
Bluetooth: hci0: Malformed MSFT vendor eventL 0x02
Bluetooth: hci0: Device booted in 15881 usecs
Bluetooth: hci0:Found Intel DDC parameters: intel/ibt-1040-0041.ddc
Bluetooth: hci0: Applying Intel DDC parameters completed
Bluetooth: hci0: Firmware timestamp 2023.35 buildtype 1 build 70976 kauditd_printk_skb: 204 callbacks suppressed
audit: type=1131 audit(1710129487 .548:232): pid=1 uid=0 auid=4294967295 ses=4294967295 msg=‘unit=systemd-rfkill comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=success’

I am not sure where to go from here. Any help would be appreciated :slight_smile:

Hardware
Motherboard: MSI Z790 PRO DDR4
CPU: Intel I7-13700KF
RAM: 32GB DDR4
GFX: PNY RTX 4070 TI

Other Notes

  • For my Qubes 4.1 install, I have to install with kernel-latest or the GUI is slow and choppy, kernel-latest works as intended. I am using the same graphics card on Qubes 4.2.
  • I am using Dasharo custom bios, which has improved the install actually as it fixed other problems that were prevalent before flashing it.
  • I have tried installing with and without kernel-latest on Q4.2
  • I have tried removing ALL USB devices, which did not help anything
  • I am yet to try a different install media / destination, but do not see this as being the issue

I am thinking it is either a graphics card issue, or a bluetooth / PCI device issue but I am not sure.

Thanks for your help in advance!

You can try to skip creating sys-usb and sys-net in Initial Setup after installation to get into dom0 and then run Initial Setup in dom0 manually using this command in dom0 terminal:

/usr/libexec/initial-setup/initial-setup-graphical

And then removing the PCI device that is causing the issue from sys-usb or sys-net.

What would be the best way to find out what the problematic PCI device is?
I have not attempted yet, but going to work on this during the weekend.

Thanks for the help.

Remove all attached devices from the qube and then add the devices one by one and try to start the qube. If the start failed after you add one specific device then this device is causing the issue.

Hi,

I am having the same problem but cannot get further than the Grub> prompt.
How do I edit the grub.cfg file to add qubes.skip_autostart from this Grub prompt?

Also, it is a non gui boot which is just showing:
Xen hypervisor, version 4.14.6
Xen hypervisor, version 4.14.6.config

Selecting Xen hypervisor, version 4.14.6.config brings up
Qubes, with Xen 4.14.6 config and Linux 6.6.25-1.qubes.fc37.X86_64
Qubes, with Xen 4.14.6 config and Linux 6.1.75-1.qubes.fc32.X86_64
Qubes, with Xen 4.14.6 config and Linux 6.1.62-1.qubes.fc32.X86_64
All option leads to the same
Started Command Scheduler.
Starting Light Display Manager …
Starting Hold until boot process finishes up…

Any idea how to edit grub.cfg file from the Grub> prompt?

Thanks
Timotatty0

Why do you want to edit it from Grub> prompt instead of editing GRUB menu entry?

Maybe you have the same issue that your display is connected to Nvidia GPU but the system is outputting image using Intel GPU:

Thanks apparatus,

Quite frankly because I don’t know how. I am trying to support someone thd can only go by what I have been sent. See attached pictures.

At one point I was sent a picture which looked like it would accept qubes.skip_autostart but the user was unable to type anything in (lack of knowledge?) That’s the black picture with part_msdos




Any help would be appreciated.

Does your friend have both dedicated GPU and integrated GPU?
I’d suggest to try and connect display to another GPU.
Most probably display is connected to dGPU (e.g. Nvidia) but Qubes OS is outputting image to iGPU (e.g. Intel).

I’m not sure.
I don’t think so.

Alternatively, can we try using the Rescue a Qubes OS system?
If so, what are the steps?


That’s what we saw yesterday, we chose Rescue a Qubes OS

Then


We choose 1 continue to attempt to find the Linux installation

Then


You don’t have any Linux partitions, what does that mean. Do I need to mount sda1 or something?

So I told him to go to the shell


Then to type mount to see what’s mounted. I believe this is only looking at the USB drive, so nothing on his internal drive. That needs to be mounted to edit the grub.cfg and add the skip…

But these are on the USB drive:

Do you see these pictures?
Does any of my assumptions make sense?

I think Rescue feature is not working currently:

You can manually mount the /boot and /boot/efi EFI System partitions in Rescue shell and manually edit the GRUB config there.

But I’d suggest to try and add the option in GRUB boot menu:

The menu entry should be editable, I’d suggest to try again.

Yes, I just got this picture:

That means the dGPU is used instead of iGPU. Try to connect the display in the motherboard port.

I’ll tell him.

He cannot get to the Qubes, with Xen hypervisor menu any more. It’s now in a reboot loop.

How do I mount the /boot and /boot/efi EFI System partitions in Rescue shell
It need to do a mount some type of sda1??? how do I figure that out?

Maybe he’ll need this to fix the issue with missing UEFI boot entry:

First you’ll need to figure out the Qubes OS disk name.
You can use:

fdisk -l
lsblk
blkid

To figure out the available disks and partitions.
The Qubes OS disk by default should have these partitions on its disk:
part1 512 MB - EFI System - /boot/efi
part2 1024 MB - ext4 - /boot
part3 the rest of the disk size - encrypted LUKS partition with rootfs

When you know the disk name then mount the /boot and /boot/efi like this, e.g. Qubes OS disk is /dev/sda:

mkdir /mnt/boot
mount /dev/sda2 /mnt/boot
mount /dev/sda1 /mnt/boot/efi

The GRUB config should be in /mnt/boot/efi/EFI/qubes/grub.cfg or in /mnt/boot/grub2/grub.cfg.

Hi,
what should I change in the grub.cfg

If you want to try to start Qubes OS without qubes autostart then you can add qubes.skip_autostart option for the kernel command line (at the end of the line starting with module2).

Good morning,
It didn’t work. I think it’s UEFI and we edited one in /mnt/boot/grub2/grub.cfg so today we’ll try again to mount /mnt/boot/efi

fdisk -l from last night

Looks like there’s an error. To bad you’re not close to Amsterdam, I’d bring it to you to fix it cause I’m getting inpatient and tired of trying. (timotatty@hotmail.com if you know someone)
We also saw this error after we got the Xen Hypervisor menu again and tried to edit after the quiet:
No-multiboot

Thanks again

Is /dev/sda your Qubes OS disk?
It seems that it was installed in legacy BIOS boot mode and not in UEFI mode. There is no EFI System partition there and disk is using MBR.
Also, there is a size mismatch, did you dd from the old Qubes OS disk to this new one? Did Qubes OS work after writing the disk image to the new disk?

Maybe you’ve made an error in editing. Can you make a photo of the place where you’ve edited the config?

Can you describe your case in more details?
Is this a new Qubes OS installation or did you use this Qubes OS successfully before but it stopped working after something happened?
When did it stop working?

Hi,
I installed it in 2018 and it has been updated 1 time.
This is the HW
ASRock UEFI AB350 Pro4 P3.20
Pressing F11

These are pictures of trying to edit the kernel options:

and again

and yet again

and with with shell and vi