Corrupted Update, Can't Find/Load Kernel (What Do?)

I downloaded some large files onto my main storage and figured I’d delete them once done with them, but didn’t realize how much space they took up when I decided to do garuda-update. So, when I came back, I saw all kinds of errors in the terminal and then checked Dolphin to see: 0 bytes free. Oops.
Well, I deleted the files and freed up the space and…I think I shut the computer down not long later (it was a few days ago, now). So, my user error has caused the following issues:

Video of booting from snapshot (it’s the same with other snapshots and other boot options): https://litter.catbox.moe/igc7he.mp4

I’m currently booting from a USB drive of Garuda Dr460nized Gamer Edition, but am unsure how to proceed. Can I fix the previous install from this one? Or do I need to do a backup of data and then a fresh install?

garuda-inxi:

╭─garuda@garuda in ~ as 🧙
╰─λ garuda-inxi
System:
Kernel: 6.8.7-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZEDGAMING_BIRDOFPR quiet
systemd.show_status=1 checksum=y driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma v: 6.0.4 tk: Qt v: N/A info: frameworks v: 6.1.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: SABERTOOTH Z77 v: Rev 1.xx
serial: <superuser required> part-nu: SKU uuid: <superuser required>
UEFI: American Megatrends v: 1504 date: 08/03/2012
CPU:
Info: model: Intel Core i5-2300 bits: 64 type: 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: 4 smt: <unsupported> cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
desc: 1x6 MiB
Speed (MHz): avg: 4226 high: 6300 min/max: 1600/6300 scaling:
driver: intel_cpufreq governor: performance cores: 1: 3503 2: 6300 3: 3601
4: 3503 bogomips: 23077
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 23 [Radeon RX 6650 XT / 6700S 6800S] vendor: ASRock
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: DP-4,HDMI-A-2 empty: DP-2,DP-3,Writeback-1 bus-ID: 03:00.0
chip-ID: 1002:73ef class-ID: 0300
Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: eVga.com.
driver: nouveau v: kernel non-free: 545.xx+ status: current (as of 2024-04;
EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1,DVI-D-1,HDMI-A-1
bus-ID: 04:00.0 chip-ID: 10de:1c82 class-ID: 0300 temp: 30.0 C
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6
compositor: kwin_x11 driver: X: loaded: amdgpu,nouveau
unloaded: modesetting,radeon alternate: fbdev,nv,vesa
dri: radeonsi,nouveau gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1354x381mm (53.31x15.00")
s-diag: 1407mm (55.38")
Monitor-1: DP-4 mapped: DisplayPort-3 pos: primary,left
model: Dell S2722DGM serial: <filter> built: 2022 res: 2560x1440 hz: 60
dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
Monitor-2: HDMI-A-2 mapped: HDMI-A-1 pos: right
model: LG (GoldStar) ULTRAWIDE serial: <filter> built: 2018 res: 2560x1080
hz: 60 dpi: 97 gamma: 1.2 size: 673x284mm (26.5x11.18")
diag: 730mm (28.8") modes: max: 2560x1080 min: 720x400
API: EGL v: 1.5 hw: drv: nvidia nouveau drv: amd radeonsi platforms:
device: 0 drv: nouveau device: 1 drv: radeonsi device: 2 drv: swrast
surfaceless: drv: nouveau x11: drv: radeonsi inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.3 vendor: amd mesa v: 24.0.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6650 XT (radeonsi
navi23 LLVM 17.0.6 DRM 3.57 6.8.7-zen1-2-zen) device-ID: 1002:73ef
memory: 7.81 GiB unified: no
API: Vulkan v: 1.3.279 layers: 9 device: 0 type: discrete-gpu name: AMD
Radeon RX 6650 XT (RADV NAVI23) driver: mesa radv v: 24.0.5-arch1.1
device-ID: 1002:73ef surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.5-arch1.1 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
class-ID: 0403
Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-3: NVIDIA GP107GL High Definition Audio vendor: eVga.com.
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 04:00.1
chip-ID: 10de:0fb9 class-ID: 0403
API: ALSA v: k6.8.7-zen1-2-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe
driver: e1000e v: kernel port: f040 bus-ID: 00:19.0 chip-ID: 8086:1503
class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Drives:
Local Storage: total: 1.43 TiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HDS721010CLA332
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A3GC scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD3000GLFS-01F8U0 size: 279.46 GiB block-size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s tech: HDD rpm: 10000 serial: <filter>
fw-rev: 3V01 scheme: MBR
ID-3: /dev/sdc maj-min: 8:32 vendor: Intel model: SSDSC2CW240A3
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 400i scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Kingston model: DataTraveler 3.0
size: 28.9 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.1
spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: PMAP
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 31.29 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 36.0 C mobo: N/A
Fan Speeds (rpm): N/A
GPU: device: nouveau temp: 30.0 C device: amdgpu temp: 32.0 C mem: 30.0 C
fan: 0 watts: 3.00
Info:
Memory: total: 32 GiB available: 31.3 GiB used: 3.63 GiB (11.6%)
Processes: 217 Power: uptime: 13m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.49 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1846 libs: 539 tools: octopi,paru Compilers:
clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.34
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.26-1):
System install date:     2024-08-22
Last full system update: 2024-08-22 ↻
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       <superuser required>
Failed units:            snapper-cleanup.service

Any help would be appreciated.
(Also, maybe have garuda-install issue a loud warning if the free space in root or elsewhere looks to be too small to complete the update safely, because I didn’t see one)

Use garuda-chroot -a to set up a chroot, then try bringing the system fully up to date.

garuda-update

It might work, it might not. Paste the output into the thread where we can see what is happening.

You may need to reinstall your kernel as well if the update doesn’t pull it down for some reason.

2 Likes
╭─garuda@garuda in ~ as 🧙
╰─λ garuda-chroot -a
==> ERROR: No Linux partitions detected!

╭─garuda@garuda in ~ as 🧙 took 3s
[⚡] ×

Does this look right?
I haven’t messed with chroot before, so I 'm not sure if the ERROR given is something to heed or ignore.

What do you get with:

lsblk -f

?

2 Likes
╭─garuda@garuda in ~ as 🧙
╰─λ garuda-chroot -a
==> ERROR: No Linux partitions detected!

╭─garuda@garuda in ~ as 🧙 took 3s
[⚡] × lsblk -f
NAME FSTYPE FSVER LABEL                            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0                                                                               0   100% /run/miso/sfs/livefs
loop1
squash 4.0                                                                               0   100% /run/miso/sfs/mhwdfs
loop2
squash 4.0                                                                               0   100% /run/miso/sfs/desktopfs
loop3
squash 4.0                                                                               0   100% /run/miso/sfs/rootfs
sda
└─sda1
ntfs         New Volume                       22F46BE5F46BB9A5                      434.3G    53% /run/media/garuda/New Volume
sdb
└─sdb1
ntfs                                          2638B4BD38B48CF5                       37.8G    86% /run/media/garuda/2638B4BD38B48CF5
sdc
├─sdc1
│    vfat   FAT32                                  F5B0-B059
├─sdc2
│    btrfs                                         942d2fc8-c9b0-49b6-a858-bd341f497451   20.2G    88% /run/media/garuda/942d2fc8-c9b0-49b6-a858-bd341f497451
└─sdc3
swap   1     swap                             057a3668-d800-479b-8dd4-ced1dec5c5c3
sdd  iso966 Jolie GARUDA_DR460NIZEDGAMING_BIRDOFPR 2024-04-28-13-20-22-00
├─sdd1
│    iso966 Jolie GARUDA_DR460NIZEDGAMING_BIRDOFPR 2024-04-28-13-20-22-00                     0   100% /run/miso/bootmnt
└─sdd2
vfat   FAT12 MISO_EFI                         BD21-E279
sr0
zram0
[SWAP]

╭─garuda@garuda in ~ as 🧙 took 11ms
╰─λ

I can see the root of my install in Dolphin. So, it is still (basically) intact and accessible from this bootable USB instance.

So, to chroot you should follow these steps from the live USB

sudo mkdir -p /mnt/broken
sudo mount /dev/sdc2 /mnt/broken
sudo garuda-chroot /mnt/broken/@

When inside chroot

mount /dev/sdc1 /boot/efi
garuda-update

Garuda-update will give for sure some errors but will hopefully complete.
And just in case also

pacman -S linux-zen linux-zen-headers 

Finally

exit
5 Likes

garuda-update resulted in these errors after downloading some of the packages:

Total ( 54/196)                      1520.8 MiB  52.3 MiB/s 00:29 [------------------------------------] 100%
error: failed retrieving file 'gstreamer-1.24.7-1-x86_64.pkg.tar.zst.sig' from ca.mirrors.cicku.me : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

the pacman command for linux-zen seems to have gone as expected (the output looks like what I’m used to seeing in the usual upgrade, but with a little bit more).

Okay. Time to reboot and see what happens.

I’m now reporting from my main install that it worked!
I’ll do a proper garuda-update and restart, this time.
Thanks for your help!

1 Like

Well, darn. It’s giving the same error of “no packages upgraded.” Should I open another issue for that?

If the error is still the same as above (gstreamer) it is usually an issue on that mirror (ca.mirrors.cicku.me).
It could be temporary and could be even fixed repeating garuda-update if the initial selection of mirrors does not pickup that one.
If it persists, yes, please, open a new topic.

4 Likes

Got it. Thanks for all the help and clarification. I didn’t feel like I had to jump through any hoops throughout any of this.

1 Like

3 posts were split to a new topic: Chroot into encrypted partition

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