System stuck on infinite loading

so its probably already being shipped with the live usb, so run it and see if you can chroot, if not, run this:

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

i dont use btrfs, so im not sure if the mount command is correct, so just post output of these commands…

Ok, first try was

manjaro-chroot -a

Error was “No Linux partitions detected!”

Second try I typed everything in sequence, here is how it looks like now:

sudo cryptsetup -v luksOpen /dev/nvme0n1p2 cryptDrive                                        
Enter passphrase for /dev/nvme0n1p2: 
Key slot 0 unlocked.
Command successful.
sudo mount /dev/mapper/cryptDrive -o subvol=@ /mnt                                     
sudo manjaro-chroot /mnt                                                                      
sh-5.1# 

I guess this way chroot worked.

looks like it, so provide logs from the failed boot:
journalctl -b-1 -p4 --no-pager


this doesnt work with encryption and btrfs

This is the message I get after running the command:

No journal files were found.
Data from the specified boot (-1) is not available: No such boot ID in journal

ok so exit chroot:
exit
and chroot again with mounting also logs:

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 manjaro-chroot /mnt

and run the journal command again

Had to skip first two commands, as it said it it already mounted, so started with third row, this is what log says:

Mar 31 20:12:34 themachine kernel: tpm tpm0: AMD fTPM version 0x3000700000003 causes system stutter; hwrng dis
abled
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: blacklist: Problem blacklisting hash (-13)
Mar 31 20:12:34 themachine kernel: nvme nvme0: missing or invalid SUBNQN field.
Mar 31 20:12:34 themachine kernel: sd 9:0:0:0: [sdb] No Caching mode page found
Mar 31 20:12:34 themachine kernel: sd 9:0:0:0: [sdb] Assuming drive cache: write through
Mar 31 20:12:34 themachine systemd-vconsole-setup[418]: KD_FONT_OP_GET failed while trying to get the font met
adata: Invalid argument
Mar 31 20:12:34 themachine systemd-vconsole-setup[418]: Fonts will not be copied to remaining consoles
Mar 31 20:12:35 themachine kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 31 20:12:37 themachine kernel: amdgpu: SRAT table not found
Mar 31 20:12:47 themachine kernel: kauditd_printk_skb: 18 callbacks suppressed
Mar 31 20:12:57 themachine systemd[1]: plymouth-quit.service: start operation timed out. Terminating.
Mar 31 20:12:57 themachine systemd[1]: plymouth-quit.service: Failed with result 'timeout'.
Mar 31 20:12:57 themachine systemd[1]: Failed to start Terminate Plymouth Boot Screen.
Mar 31 20:12:58 themachine sddm[644]: Failed to read display number from pipe
Mar 31 20:12:58 themachine sddm[644]: Attempt 1 starting the Display server on vt 1 failed
Mar 31 20:13:00 themachine sddm[644]: Failed to read display number from pipe
Mar 31 20:13:00 themachine sddm[644]: Attempt 2 starting the Display server on vt 1 failed
Mar 31 20:13:02 themachine sddm[644]: Failed to read display number from pipe
Mar 31 20:13:02 themachine sddm[644]: Attempt 3 starting the Display server on vt 1 failed
Mar 31 20:13:02 themachine sddm[644]: Could not start Display server on vt 1
Mar 31 20:16:17 themachine sddm[644]: Signal received: SIGTERM

post output from:
mhwd -l -li && mhwd-kernel -li

and do you have grub menu shown during boot?

mhwd output:

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
> 0000:23:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:29:00.0 (0300:1002:67df) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


Currently running: 6.1.19-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux61
   * linux62

And, no grub menu, after entering decryption key, it goes straight to Manjaro loading screen.

so for grub menu:
nano /etc/default/grub
and edit this line to look like this (its the third from top):
GRUB_TIMEOUT_STYLE=menu
save it with: ctrl+x, press ‘Y’, then enter and update grub:
update-grub


now enable early loading of the video driver:
nano /etc/mkinitcpio.conf
and edit the MODULES section to look like this:

MODULES=(amdgpu)

save it with ctrl+x press Y, then enter and update it:
mkinitcpio -P


now rerun update again:
pacman-mirrors --fasttrack 5 && pacman -Syyu
if there were no errors, install also the 5.15 kernel:
pacman -S linux515
if no errors, exit chroot, reboot, and now you will have grub menu, so in the advanced options try booting also with the 5.15 kernel - not the fallback one…

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.