Booting Issues v2

I do apologize if my question can be answered from another question on this forum. My patience is running low so i'm hopping off for dinner to reset lol earlier though I came across this post here(Booting Issue) which is almost exactly the issue that I am noticing. I am using the qtile version of garuda linux. Shortly after I did a full update using "yay -Syu --devel" my computer suddenly could not boot. However, when I go into the snapshots and boot from one a few hours old it works flawlessly.

I have removed the lockfile in /var/lib/pacman/db.lck

Now when I try "doas pacman -Syu" I get:

╭─ Garuda Linux at jordan in ⌁
╰─λ doas pacman -Syu
Password:
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
:: Replace doas with community/opendoas? [Y/n] n
warning: gesture-manager-x-git: local (0.1-1) is newer than chaotic-aur (r9.ce6f7d0-1)
 there is nothing to do

When I try "yay -Syu --devel" I get:

╭─ Garuda Linux at jordan in ⌁
╰─λ upd #upd is an alias that I setup for "yay -Syu --devel"
Password:
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
:: Replace doas with community/opendoas? [Y/n] n
warning: gesture-manager-x-git: local (0.1-1) is newer than chaotic-aur (r9.ce6f7d0-1)
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 -> gesture-manager-x-git: local (0.1-1) is newer than chaotic-aur (r9.ce6f7d0-1)
:: Checking development packages...
 there is nothing to do

Here is my ls -l /boot/:

drwx------    - root 31 Dec  1969 efi
drwxr-xr-x    - root  3 Mar 19:33 grub
drwxr-xr-x    - root  7 Jan  2:37 memtest86+
drwxr-xr-x    - root 15 Feb 18:52 syslinux
.rw-r--r--  39M root  3 Mar 19:33 initramfs-linux-tkg-bmq-fallback.img
.rw-r--r--  18M root  3 Mar 19:33 initramfs-linux-tkg-bmq.img
.rw-r--r-- 3.6M root 17 Feb  0:15 intel-ucode.img
.rw-r--r-- 9.4M root  3 Mar 19:33 vmlinuz-linux-tkg-bmq

Because I thought it may be useful, here is the output of "pacman -Qe" which is a total of 297 packages:

alacritty 0.7.2-1
alsa-firmware 1.2.4-2
android-tools 30.0.5-1
android-udev 20201003-1
appimagelauncher 2.2.0-4
archlinux-xdg-menu 0.7.6.3-2
arj 3.10.22-13
audacity 1:2.4.1-4
autoconf 2.71-1
automake 1.16.3-1
autorandr 1.11-2
awesome-terminal-fonts 1.1.0-3
b43-fwcutter 019-3
bash-completion 2.11-1
binutils 2.36.1-2
bison 3.7.3-1
bleachbit 4.2.0-1
blueman 2.1.4-1
bluetooth-support 1-3
brave-bin 1:1.21.73-1
bridge-utils 1.7-1
btrfs-progs 5.10.1-2
bzip2 1.0.8-4
chaotic-keyring 20201229-1
chaotic-mirrorlist 20210301-1
chaotic-nvidia-dkms-tkg 460.39-6
chaotic-nvidia-egl-wayland-tkg 460.39-6
chaotic-nvidia-opencl-tkg 460.39-6
chaotic-nvidia-settings-tkg 460.39-6
chaotic-nvidia-utils-tkg 460.39-6
coreutils 8.32-1
cpio 2.13-2
crda 4.14-3
cronie 1.5.5-2
cryptsetup 2.3.4-2
deluge-gtk 2.0.4.dev38+g23a48dd01-3
dmenu 5.0-1
dmidecode 3.3-1
dmraid 1.0.0.rc16.3-13
doas 6.3p2-4
dosfstools 4.2-1
downgrade 9.0.0-1
dunst 1.5.0-1
e2fsprogs 1.46.2-1
ecryptfs-utils 111-4
efibootmgr 17-2
exfat-utils 1.3.0-2
f2fs-tools 1.14.0-1
fakeroot 1.25.3-2
fatresize 1.1.0-1
feh 3.6.3-1
ffmpegthumbnailer 2.2.2-2
file 5.39-1
filesystem 2021.01.19-1
findutils 4.8.0-1
flameshot 0.9.0-1
flex 2.6.4-3
freetype2 2.10.4-1
frei0r-plugins 1.7.0-1
fscrypt 0.2.9-1
fwupd 1.5.7-1
galculator 2.1.4-5
garuda-assistant-git r28.c3acfcc-1
garuda-boot-options-git r20.98d4ca8-1
garuda-browser-settings r31.098e7c0-1
garuda-common-settings r99.396bf1d-1
garuda-fish-config r48.7f95799-1
garuda-gamer-git r16.83cbdb2-1
garuda-hooks 0.0.1-30
garuda-icons r28.c765679-1
garuda-network-assistant-git r23.918837e-1
garuda-qtile-settings r40.d736c11-1
garuda-settings-manager-git r24.4646d26-1
garuda-settings-manager-notifier-git r24.4646d26-1
garuda-wallpapers r51.b6f9cba-1
garuda-wallpapers-extra r7.ab0023d-1
garuda-welcome-git r97.7b3916a-1
garuda-zsh-config r34.0b654b6-1
gawk 5.1.0-1
gcc 10.2.0-6
gcc-libs 10.2.0-6
gedit 3.38.1-1
gesture-manager-x-git 0.1-1
gettext 0.21-1
gimp 2.10.22-2
git 2.30.1-1
glibc 2.33-4
gmrun 1.0w-1
gnome-firmware 3.36.0-2
gnome-keyring 1:3.36.0-3
gparted 1.2.0-2
grep 3.6-1
groff 1.22.4-4
grub 2:2.04-10
grub-btrfs 4.8.1-1
grub-garuda 2.04-11
grub-theme-garuda r18.75c8339-1
gsimplecal 2.1-4
gstreamer-meta 1-1
gtk-engine-murrine 0.98.2-4
gvfs 1.46.2-1
gvfs-afc 1.46.2-1
gvfs-goa 1.46.2-1
gvfs-google 1.46.2-1
gvfs-gphoto2 1.46.2-1
gvfs-mtp 1.46.2-1
gvfs-nfs 1.46.2-1
gvfs-smb 1.46.2-1
gwe 0.15.2-1
gzip 1.10-3
handbrake 1.3.3-4
htop 3.0.5-1
i3lock 2.13-1
inetutils 1.9.4-8
input-devices-support 1-1
intel-ucode 20210216-1
inxi 3.3.01.1-1
iproute2 5.11.0-1
iputils 20200821-1
ipw2100-fw 1.3-10
ipw2200-fw 3.1-8
jfsutils 1.1.15-7
jgmenu 4.3.0-1
kdenlive 20.12.2-2
kvantum-qt5 0.18.0-1
kvantum-theme-sweet-git r174.3a33b76-1
lhasa 0.3.1-3
lib32-chaotic-nvidia-opencl-tkg 460.39-6
lib32-chaotic-nvidia-utils-tkg 460.39-6
libdvdcss 1.4.2-2
libgsf 1.14.47-1
libguestfs 1.42.0-5
libmythes 1:1.2.4-4
libopenraw 0.3.0-1
libreoffice-fresh 7.1.0-2
librewolf 86.0-1
librsvg 2:2.50.3-1
libtool 2.4.6+42+gb88cebd5-14
licenses 20200427-1
linux-firmware 20210208.b79d239-1
linux-tkg-bmq 5.11.2-129
linux-tkg-bmq-headers 5.11.2-129
lockdown-ms 20130326-4
logrotate 3.18.0-1
lolcat 100.0.0-2
lrzip 0.640-1
lsb-release 1.4-18
lvm2 2.03.11-5
lxappearance-gtk3 0.6.3-4
lxinput-gtk3 0.3.5-3
lxrandr 0.3.2-2
lxsession 1:0.5.5-1
lxtask-gtk3 0.1.10-1
lzip 1.22-1
lzop 1.04-3
m4 1.4.18-3
make 4.3-3
man-db 2.9.4-1
man-pages 5.10-1
mdadm 4.1-2
memtest86+ 5.01-4
mercurial 5.7-1
micro 2.0.8-4
mintstick 1.4.4-1
mkinitcpio-nfs-utils 0.3-7
mkinitcpio-openswap 0.1.0-3
mkinitcpio-systemd-tool 36-1
mlocate 0.26.git.20170220-5
modem-manager-gui 0.0.20-1
mousetweaks 3.32.0-2
movit 1.6.3-1
mtools 4.0.26-1
network-manager-applet 1.20.0-2
networkmanager-support 1-1
nextcloud-client 3.1.3-1
nfs-utils 2.5.3-1
nilfs-utils 2.2.8-2
noto-fonts 20201226-1
noto-fonts-emoji 20200916-1
nss-mdns 0.14.1-3
ntfs-3g 2017.3.23-5
numlockx 1.2-5
nvidia-prime 1.0-4
nwg-launchers 0.4.3-1
okular 20.12.2-1
olivia r837.2afc8a0-1
openbsd-netcat 1.217_2-1
opus-tools 0.2-3
os-prober-garuda 1.77-2
p7zip 17.03-2
pacman 5.2.2-2
pacman-contrib 1.4.0-1
paleofetch-garuda r3.6471340-1
pamac-aur 10.0.4-2
paprefs 1.1-2
pass 1.7.3-2
pasystray 0.7.1-2
patch 2.7.6-8
pavucontrol 1:4.0-2
pciutils 3.7.0-1
pcmanfm 1.3.2-1
peek 1.5.1-3
perl-file-mimeinfo 0.30-1
picom-jonaburg-git 0.1-4
pkgconf 1.7.3-1
pkgfile 21-2
playerctl 2.3.1-1
plymouth-git 0.9.5.r31.gc74b3ae-1
plymouth-theme-garuda-purple r2.2aae21e-1
powertop 2.13-1
pragha 1.3.4-2
procps-ng 3.3.17-1
psmisc 23.4-1
pulseaudio-ctl 1.69-1
pulseaudio-equalizer-ladspa 3.0.2-4
pulseaudio-support 1-3
python-pip 20.3.1-1
python-psutil 5.8.0-1
python-pywal 3.3.0-3
qjackctl 0.9.1-1
qomui-git 0.8.2.r22.23650ab-2
qt5ct 1.1-1
qtile 0.17.0-1
ranger 1.9.3-3
redshift 1.12-4
reflector 2021-1
reiserfsprogs 3.6.27-3
rofi 1.6.1-1
rsync 3.2.3-3
sddm 0.19.0-3
secure-delete 3.1a-1
sed 4.8-1
shadow 4.8.1-4
shell-color-scripts 0.1-1
signal-desktop 1.40.1-1
slack-desktop 4.13.0-1
sof-firmware 1.6.1-1
sox 14.4.2-7
sshfs 3.7.1-1
subversion 1.14.1-1
sweet-theme-dark 1.10.5-1
systemd 247.3-1
systemd-sysvcompat 247.3-1
tar 1.34-1
tela-icon-theme-git 2021.01.21.r4.g6a1fd622-1
terminus-font 4.49.1-1
termite-terminfo 15-3
texinfo 6.7-3
timeshift 20.11.1+3+g08d0e59-2
timeshift-autosnap 0.9-1
ttf-dejavu 2.37+18+g9b5d1b2f-2
ttf-fantasque-sans-mono 1.8.0-2
ttf-fira-sans 1:4.301-2
ttf-font-awesome 5.15.2-1
ttf-liberation 2.1.3-1
ttf-opensans 1.101-2
tumbler 4.16.0-1
tutanota-desktop 3.82.4-1
ufw 0.36-5
unace 2.5-11
unarchiver 1.10.7-2
unarj 2.63a-6
unrar 1:6.0.3-1
unzip 6.0-14
usbutils 013-1
util-linux 2.36.2-1
vim 8.2.2489-1
virt-manager-meta 1-2
which 2.21-5
wmctrl 1.07-6
xarchiver 0.5.4.17-1
xautolock 2.2-6
xbindkeys 1.8.7-2
xcape 1.2-4
xclip 0.13-3
xdg-desktop-portal 1.8.0-1
xdg-desktop-portal-gtk 1.8.0-1
xdg-user-dirs 0.17-3
xdg-utils 1.1.3+19+g9816ebb-1
xdotool 3.20160805.1-3
xfsprogs 5.10.0-2
xorg-server 1.20.10-3
xorg-server-xephyr 1.20.10-3
xorg-xbacklight 1.2.3-2
xorg-xhost 1.0.8-2
xorg-xinit 1.4.1-3
xorg-xinput 1.6.3-2
xorg-xkill 1.0.5-2
xorg-xprop 1.2.5-1
xorg-xrandr 1.5.1-2
xorg-xsetroot 1.1.2-2
xorg-xwininfo 1.1.5-2
xsel 1.2.0.20190821-1
xz 5.2.5-1
yay 10.1.2-2
zenity 3.32.0+55+gd7bedff-1
zip 3.0-9

Here is the error I am getting at boot:

Loading kernel linux-tkg-bmg ...
error: file '/@/boot/vmlinuz-linux-tkg-bmq' not found.
Loading initial ramdisk ...
error: you need to load the kernel first.
Press any key to continue ...

I have shortened your long columns a little.

Read

please
and post

inxi -Fxxxza

as nice formatted text.
and
:slight_smile:
greetings SGS

2 Likes

You might want to see what happens when you run either of these commands as root, then reboot.

# mkinitcpio -P

or

# mkinitcpio -p linux-tkg-bmq

regards

5 Likes

Thank you guys for the help! Unfortunately the problem still persists but here is where we are at so far:

I ran both "mkinitcpio -P" and "mkinit -p linux-tkg-bmq":

╭─ Garuda Linux at jordan in ⌁
╰─λ doas mkinitcpio -p linux-tkg-bmq
Password:
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
  -> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.11.3-131-tkg-bmq
  -> 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]
  -> Running build hook: [plymouth]
  -> Running build hook: [plymouth-encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.11.3-131-tkg-bmq
  -> 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: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [plymouth]
  -> Running build hook: [plymouth-encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> Image generation successful
╭─ Garuda Linux at jordan in ⌁
╰─λ doas mkinitcpio -P
Password:
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
  -> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.11.3-131-tkg-bmq
  -> 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]
  -> Running build hook: [plymouth]
  -> Running build hook: [plymouth-encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.11.3-131-tkg-bmq
  -> 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: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
  -> Running build hook: [plymouth]
  -> Running build hook: [plymouth-encrypt]
==> WARNING: Possibly missing firmware for module: qat_4xxx
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> Image generation successful

I also ran a "yay -Syu --devel" after trying those commands and got the output located at this link:
yay -Syu --devel

The output of "inxi -Fxxxza" is located at this link:
inxi -Fxxxza

I also saved the "Reporting Bugs" wiki as a bookmark for future reference. Thanks for the help you guys have put in!

Put simply, the issue seems to be: The vmlinuz-linux-tkg-bmq file is in my /boot/ directory as it should be but my computer doesn't recognize it on boot. I've searched that exact sentence and variations on it and I came across this post(Freezing a lot lately - #29 by petsam). Would a BIOS update potentially fix the issue?

After booting into a snapshot, you have to restore it using Timeshift.
Else, you will always have the failed system as 1st grub boot option.

6 Likes

That did it! Survived a “yay -Syu --devel” and everything. I swear I tried restoring from timeshift first thing and it didn’t work. Maybe because I didn’t select “Restore @home subvolume” after selecting my snapshot to restore from and clicking “Restore” from the top panel? Either way. Timeshift just saved me :pray:

Also, this isn’t an issue. Just a command-line alternative question. I noticed that when I create timeshift snapshots manually using “doas timeshift --create” it doesn’t seem to show up under “timeshift snapshots” in GRUB but once I log in the snapshots show just fine in the GUI timeshift program. Should I run that “timeshift --create” command as su instead of using doas or is the “timeshift --create” command incomplete?

Manually creating a snapshot, you need to manually update-grub to build and include new snapshots.
Auto-including snapshots in grub is done when auto-creating snapshots with pacman hooks.

4 Likes

You can create a service to automatically perform an update-grub at shutdown to be sure any manually created snapshots are always included in your grub boot menu. That will however, delay rebooting or shutdown.

I did some further tests with this issue today. If you created a snapshot manually, but forgot to do a sudo update-grub and don’t have the image available on your grub boot menu there is an easy way to add it if you need to restore from it.

Assuming you can use your normal key combinations CRTL+ALT+F3 (or other) to open a tty terminal you can then login on your normal user account and perform a sudo update-grub. Once the grub update operation is completed do a sudo reboot. Once you are back at the grub boot menu the missing entry should now be visible and you can use it to restore from the new snapshot.

Once you have successfully booted into Garuda do a proper restore of the new snapshot from within the timeshift GUI utility. Bob’s your uncle, no worries.

3 Likes

I decided to create a new alias in my fish config:

alias snapshot='doas timeshift --create && doas update-grub'