System stuck on infinite loading

After updating mkinit, got a few warnings (hopefully I can ignore at least some of them):

==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64.img
==> Starting build: 6.1.19-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
  -> -k /boot/vmlinuz-6.1-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: 6.1.19-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.1-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
  -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
==> Starting build: 6.2.7-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.2-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
  -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
==> Starting build: 6.2.7-2-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-6.2-x86_64-fallback.img
==> Image generation successful

After mirrors sorted out and pacman started dowloading first set of packages (archlinux-keyring and manjaro-keyring), this popped up:

:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
First run mode (config file not found)
Selected default snapshot type: BTRFS
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

And then main part of package upgrades (460 of them) starts, and with my slower internet (2MB/s), it might take a while. If an error pops out, I will post it.

the mkinit output looks ok…
however the keyring output doesnt:

it didnt updated the packages… and i have no experience with btrfs, so have no idea what to do with it… but lets see if the update/ install of the kernel works

Same error after downloading all the packages:

:: Running pre-transaction hooks...
(1/4) Creating Timeshift snapshot before upgrade...
First run mode (config file not found)
Selected default snapshot type: BTRFS
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.

System disk not found! ->Maybe swap also needs to be mounted, as a system disk? Only other partition that isn’t mounted, that is new (to Manjaro), as the HDD is purely storage for music, movies, pictures etc.

this is btrfs thing… maybe we should have mounted also home?:

sudo mount /dev/mapper/cryptDrive -o subvol=@home /mnt/home

but the most important thing was enabling the early loading, so reboot anyway and see if the early loading was the issue… if you get stuck again, chroot with the mounted home partition again:

sudo cryptsetup -v luksOpen /dev/nvme0n1p2 cryptDrive
sudo mount /dev/mapper/cryptDrive -o subvol=@ /mnt
sudo mount /dev/mapper/cryptDrive -o subvol=@log /mnt/var/log
sudo mount /dev/mapper/cryptDrive -o subvol=@cache /mnt/var/cache
sudo mount /dev/mapper/cryptDrive -o subvol=@home /mnt/home
sudo manjaro-chroot /mnt

and before reruning the update, try reinstalling some small package to see if it works, for example:
pacman -S ark
if it was successfull, rerun the update and install the 5.15 kernel, and test

Restarting and just leaving it be worked, it went all the way to login screen without a hitch.
Interesting, there was no grub menu or any prompts to choose kernels.

Shutting down the system and turning it back on after about a minute (“cold start”) also works normally (for) now.

Going to update with -Syyu now.

Edit: snapshots working now, i guess btrfs needs everything mounted to work.

so it looks like early loading was the issue… at least its fixed now… and check some guides on how to maintain btrfs

Didn’t have time to snap a pic, grub menu activated for about 2 seconds and then just turned off with a message saying something like “No such crypto disk found.” and “Press any key to continue.” Happened during a restart after full update.
Will scour the forums for a bit, something should pop up.

A bit bumpy start of my Manjaro ride, but I think the road ahead will be smoother. Would too easy if it all worked perfectly :grin:

Thanks for all the help and advices.

1 Like

can you normally boot?
well looks like you are affected with this:

Normally booting, grub normally opens, can use it’s menu normally. I guess I just hit enter immediately last time and didn’t realize it. That error pops up, again enter and it works.
I guess that early loading tweak was the thing that helped, will go through this other thread and follow the advice there to get rid of any other hidden “dangers”.

Once again, really appreciate help, one challenge finished, another one awaits.

so you have to do only this from the thread, since you can boot normally:
Open the grub file and add cryptodisk to grub preload modules in /etc/default/grub:

GRUB_PRELOAD_MODULES="cryptodisk part_gpt part_msdos"

reinstall grub:

sudo grub-install

Updated grub and rebuild initramfs

sudo mkinitcpio -P && sudo update-grub

reboot and test

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.