System sometimes stuck during boot

Hi there. So I’ve been using XFCE for months with zero issues and this morning I decided to wipe all clear with the latest version. Sometimes the system hangs when booting, I don’t see any pattern:

Here’s some logs, unfortunately I don’t have more info right now.

➜  ~ sudo cat /var/log/boot.log
------------ Fri Dec 01 12:34:11 MST 2023 ------------
/dev/nvme0n1p2: clean, 364134/15613952 files, 4356871/62435619 blocks
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
[  OK  ] Finished Load Kernel Module dm_mod.
[  OK  ] Finished Load Kernel Module loop.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Reached target System Initialization.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Refresh existing PGP keys of archlinux-keyring regularly.
[  OK  ] Started Discard unused filesystem blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Refresh pacman files databases weekly.
[  OK  ] Started Monthly clean packages cache.
[  OK  ] Started Generate mirrorlist weekly.
[  OK  ] Started Daily verification of password and group files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily locate database update.
[  OK  ] Reached target Path Units.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Socket activation for snappy daemon...
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting D-Bus System Message Bus...
         Starting Authorization Manager...
         Starting Snap Daemon...
         Starting User Login Management...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished Save/Restore Sound Card State.
         Starting Network Manager...
[  OK  ] Reached target Sound Card.
[  OK  ] Started User Login Management.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Hostname Service...
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
[  OK  ] Started Hostname Service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Modem Manager.
         Starting Bluetooth service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Snap Daemon.
         Starting Time & Date Service...
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth Support.
[  OK  ] Started Time & Date Service.
         Starting WPA supplicant...
[  OK  ] Started Network Manager.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network.
         Starting CUPS Scheduler...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Command Scheduler.
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Started CUPS Scheduler.
------------ Fri Dec 01 12:36:30 MST 2023 ------------
/dev/nvme1n1p2: clean, 364136/15613952 files, 4357876/62435619 blocks
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Reached target System Initialization.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Refresh existing PGP keys of archlinux-keyring regularly.
[  OK  ] Started Discard unused filesystem blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Refresh pacman files databases weekly.
[  OK  ] Started Monthly clean packages cache.
[  OK  ] Started Generate mirrorlist weekly.
[  OK  ] Started Daily verification of password and group files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily locate database update.
[  OK  ] Reached target Path Units.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Socket activation for snappy daemon...
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting D-Bus System Message Bus...
         Starting Authorization Manager...
         Starting Snap Daemon...
         Starting User Login Management...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished Save/Restore Sound Card State.
         Starting Network Manager...
[  OK  ] Reached target Sound Card.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started User Login Management.
         Starting Hostname Service...
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
[  OK  ] Started Hostname Service.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started Snap Daemon.
         Starting Time & Date Service...
         Starting Bluetooth service...
[  OK  ] Started Time & Date Service.
[  OK  ] Started Bluetooth service.
[  OK  ] Reached target Bluetooth Support.
         Starting WPA supplicant...
[  OK  ] Started Network Manager.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network.
         Starting CUPS Scheduler...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Command Scheduler.
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Started CUPS Scheduler.

PS. This is a lenovo ThinkPad E15 and it’s just a few months old so I don’t think it’s a hardware problem. Thanks in advance!

Looks like I’ve got the same issue on xfce, clean install. For a work around when that happens hit ctrl+alt+delete.
The system will reboot & most of the time will boot normally. If not then ctrl +alt+delete again till it does.

FastBoot enabled in UEFI Settings? Linux don’t like skipping initialization steps.

1 Like

Instead of using that method to force reboot use this. (REISUB)

A big chance that’s the issue. I also had to reset the bios. Will go check. :+1:

Edit: I found UEFI settings but I don’t see a boot mode option, only things related to Windows UEFI firmware update (and unfortunately this won’t me share an image with options available).

I have Boot Mode = Quick In Startup, does it mean it’s enabled? The other option is “Diagnostic” which didn’t solve the issue unfortunately.

I read the manual: https://download.lenovo.com/pccbbs/mobiles_pdf/e14_r14_e15_s3gen2_ug_v2_en.pdf and there is actually no mention of fast boot other than:

Disable Fast Startup and the built-in battery
Before replacing any CRU, ensure that you disable Fast Startup first and then disable the built-in battery.
To disable Fast Startup:

  1. Go to Control Panel and view by Large icons or Small icons.
  2. Click Power Options, and then click Choose what the power buttons do on the left pane.
  3. Click Change settings that are currently unavailable at the top.
  4. If prompted by User Account Control (UAC), click Yes.
  5. Clear the Turn on fast startup check box, and then click Save changes.

But that soulds like windows fastboot. (also called fast startup so :person_shrugging:)

It could be that this is the naming in your UEFI. Anyway, I strongly suspect it has something to do with the GPU. For example, starting LightDM (Display Manager) is not yet ready. I could be wrong too. In any case, your boot log shows no errors and shows that you aborted in the middle of the boot process.

PS: You show the boot process by typing ESC when you see Plymouth’s boot splash.

@megavolt and @bedna thanks for the info. I still haven’t figured it out but I’ll update the the thread as soon as I have something.

I have exactly the same issue on my laptop and stationary PC.

Don’t know if it’s related or not, i share my experience :

I’ve fresh installed latest manjaro xfce on 4 computers (linux 6.5 and after linux66 lts), same as the OP, hang on manjaro logo, so i relaunch the live iso and i found this :

The live xfce iso when running get the kms hook in mkinitcpio.conf while i check current non booting installation, i didn’t found kms hook , so i chroot the system and insert kms hook in mkinitcpio.conf, and voilà my four computers started to boot without issue.
Maybe Calamares installer doing someting wrong.
Only arrived on kernel after 6.1.

If you can survive without a pretty splash screen during boot, uninstalling plymouth may potentially improve things. Cheers.

1 Like

I can definitely survive without it! :slight_smile: I just followed these steps. So far (before the plymouth thing) this has been inconsistent, sometimes the system hangs, sometimes it doesn’t. I’ll use the computer a few more days and let you guys know if the issue went away by removing the plymouth stuff.

The recommended procedure to remove Plymouth can be found at Plymouth (Manjaro Wiki) under the heading of REMOVAL.

This isn’t like a normal uninstall; other factors need to be taken into consideration. However, all the information needed is on that page, and it’s really not so difficult.

Unfortunately, the link you posted seems to have missed a few important steps, so I’d certainly recommend checking the Manjaro Wiki page for clarification, and make sure all requirements are completed to ensure that Plymouth is removed properly.

Cheers. :partying_face:

1 Like

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