Bad update got Stuck at Loading Kernel and Initram

inxi

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "pt_BR.UTF-8",
        LC_NAME = "pt_BR.UTF-8",
        LC_MONETARY = "pt_BR.UTF-8",                                                                                                   
        LC_PAPER = "pt_BR.UTF-8",                                                                                                      
        LC_IDENTIFICATION = "pt_BR.UTF-8",                                                                                             
        LC_TELEPHONE = "pt_BR.UTF-8",                                                                                                  
        LC_MEASUREMENT = "pt_BR.UTF-8",                                                                                                
        LC_TIME = "pt_BR.UTF-8",                                                                                                       
        LC_NUMERIC = "pt_BR.UTF-8",                                                                                                    
        LANG = "en_US.UTF-8"                                                                                                           
    are supported and installed on your system.                                                                                        
perl: warning: Falling back to the standard locale ("C").                                                                              
System:                                                                                                                                
  Kernel: 6.1.20-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.2.1                                                                   
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts                                                                                   
    root=UUID=33da784c-6400-4145-99e3-93bc3c7463b2 rw rootflags=subvol=@                                                               
    quiet                                                                                                                              
    cryptdevice=UUID=5b16040e-5d39-4cd0-80b7-423ffe50eaff:luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff                                    
    root=/dev/mapper/luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff splash                                                                  
    rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 ibt=off                                                               
  Desktop: LXQt v: 1.2.1 tk: Qt v: 5.15.8 info: cairo-dock, lxqt-panel                                                                 
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux                                                                  
Machine:                                                                                                                               
  Type: Desktop Mobo: INTEL model: HM65DESK serial: <superuser required>                                                               
    UEFI: American Megatrends v: 4.6.5 date: 02/23/2019                                                                                
CPU:                                                                                                                                   
  Info: model: Intel Core i7-2620M bits: 64 type: MT MCP arch: Sandy Bridge                                                            
    gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6                                                                 
    model-id: 0x2A (42) stepping: 7 microcode: 0x2F                                                                                    
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 3400 min/max: 800/3400 scaling: driver: intel_cpufreq
    governor: performance cores: 1: 3400 2: 3400 3: 3400 4: 3400 bogomips: 21561
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    driver: i915 v: kernel arch: Gen-6 code: Sandybridge process: Intel 32nm
    built: 2011 ports: active: none empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2,
    VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0126 class-ID: 0300
  Device-2: NVIDIA GM107 [GeForce GTX 750] driver: nvidia v: 525.89.02
    alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    link-max: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1381 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,intel,nouveau,nv,vesa dri: crocus gpu: i915,nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1360x768 s-dpi: 90 s-size: 384x300mm (15.12x11.81")
    s-diag: 487mm (19.18")
  Monitor-1: HDMI-0 res: 1360x768 hz: 60 dpi: 49
    size: 708x398mm (27.87x15.67") diag: 812mm (31.98") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce GTX
    750/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20
    class-ID: 0403
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fbc class-ID: 0403
  Sound API: ALSA v: k6.1.20-1-lts running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.67 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u
    bus-ID: 2-1.5:3 chip-ID: 148f:7601 class-ID: 0000 serial: <filter>
  IF: wlp0s29u1u5 state: up mac: <filter>
Drives:
  Local Storage: total: 2.78 TiB used: 588.89 GiB (20.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 model: SATA SSD size: 55.9 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter>
    rev: Sb10 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST3000NM0053
    size: 2.73 TiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: G00A scheme: GPT
Partition:
  ID-1: / raw-size: 558.79 GiB size: 558.79 GiB (100.00%)
    used: 133.65 GiB (23.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff
  ID-2: /boot/efi raw-size: 5.59 GiB size: 5.58 GiB (99.80%)
    used: 242.3 MiB (4.2%) fs: vfat dev: /dev/sda2 maj-min: 8:2
  ID-3: /home raw-size: 558.79 GiB size: 558.79 GiB (100.00%)
    used: 133.65 GiB (23.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff
  ID-4: /var/log raw-size: 558.79 GiB size: 558.79 GiB (100.00%)
    used: 133.65 GiB (23.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff
  ID-5: /var/tmp raw-size: 558.79 GiB size: 558.79 GiB (100.00%)
    used: 133.65 GiB (23.9%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-5b16040e-5d39-4cd0-80b7-423ffe50eaff
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.72 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 32 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 33%
Info:
  Processes: 234 Uptime: 3m wakeups: 0 Memory: 3.72 GiB used: 1.91 GiB (51.4%)
  Init: systemd v: 253 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages: 1832 pm: pacman pkgs: 1788
  libs: 546 tools: pamac,paru pm: flatpak pkgs: 44 Shell: Bash v: 5.1.16
  running-in: qterminal inxi: 3.3.25
Garuda (2.6.15-1):
head: cannot open '/var/log/pacman.log' for reading: No such file or directory
  System install date:     
  Last full system update: 2023-03-22
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:            

Hey everyone! So, last sunday I did an update, a lot of stuff was on it, no errors were reported. But upon reboot it got stuck at "loading kernel" and "loading initram" or smth I don't really remember the exact lines, but I'm sure y'all know what I mean.

I was able to revert to the snapshot of saturday and call it a day, but on doing that, Garuda's grub can no longer point me to my other OS, it always results on a bad boot, even tho the entry is there. Idk if this is related or not.

So before I actually try to update my Garuda this sunday (aka easter) I thought I'd bring the problem to the forum and see if you have any insights. My research on the matter, as I had absolutely no error message to work with, was pretty inconclusive, even here on the forum.

I tried booting with a pendrive to see if it was a cryptography thing, I have my partition encrypted and it wouldn't be the first time "crypt" was off my Hooks, but that wasn't it. So I'm clueless. I heard some people complaining about plymouth here in the forum, saying that sometimes this happens? What do y'all think?

I'm glad with any help over here, and hoping it was just some little off thing with one package update that will be back to normal this week... but hey it's never this easy is it?

This perhaps?

3 Likes

Nop, I had no tty to work with, it was stuck, like STUCK really at "loading kernel..." and etc. I did try to pull a tty with the shortcuts, but also no luck

EDIT: but maybe it should appear that "display manager was changed" thing if I update now on the recovered system? Is that it perhaps?

The "display manager was changed" should now appear when upgrading, but I've read at least one report where it did not and still required the manual intervention above (it was fixed recently and it's not clear if the update spread to all the mirrors yet).
That problem though, as far as I understand, should not hang the system but drop to the tty, so it may well be a different thing.

2 Likes

Alright, since it's already easter holiday over here (we make a 3 days holiday, good stuff), I did an update right now, all went well, no errors or anything...

But upon reboot, I'm again stuck at loading kernel. This time I didn't revert to the snapshot so we can figure it out, I have a pendrive ready to go, but I really need ideas over here on what to do.

I even more suspect this is not the plymouth problem with the display manager I though at first.

Does it boot with the alternate initramfs?
("Advanced options for Garuda Linux" or something like that in GRUB menu)

If not, I'd try "Garuda boot repair" from the boot disk, or maybe something in chroot, but I have no experience there and I pass the ball to someone better.

2 Likes

Alright, I had to be offline for a while, but now I'm back hehe
I'm gonna try what you said today and come back with the results. Wish me luck

Ok so you were right, booting with my fallback initramfs was a success!

Now I know I should probably update the system since I've been away from it for the last 14 days or so, I only hope the problem is fixed in this update. But thanks again for helping me out and hopefully if everything goes on the right path I won't be bothering the forum with more mysterious issues xD

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