Some KDE settings lost; can't boot into snapshots

Hi all. I'm experiencing a strange issue after my latest update. (I use the update command exclusively to update.)

On logging in after a reboot, I first noticed that my window decorations were back to being on the right, instead of on the left where I moved them. I then noticed that neither the Latte dock or the Latte bar were loading. Other KDE settings, such as task switcher settings, number of virtual desktops, and window position are also all wonky.

I rebooted to grub and tried to load a snapshot, but none of them will load. I tried 3 or 4, and they all ended up booting to a shell and the following error:

root device mounted but /sbin/init does not exist

I can still boot into the base install where settings are messed up, just no snapshots. Any ideas what to do here? Thanks in advance.

λ garuda-inxi
System:
Kernel: 5.15.52-1-lts arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts
root=UUID=948dd271-131a-4b40-8086-7b390c7c9723 rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
lsm=landlock,lockdown,yama,apparmor,bpf ibt=off
Desktop: KDE Plasma v: 5.25.2 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: TUF GAMING X570-PRO (WI-FI) v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 4021
date: 08/10/2021
CPU:
Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3 gen: 4
built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x21 (33)
stepping: 0 microcode: 0xA201016
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 4199 high: 4200 min/max: 2200/5279 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4198 2: 4200
3: 4197 4: 4200 5: 4199 6: 4200 7: 4198 8: 4200 9: 4199 10: 4200 11: 4200
12: 4200 bogomips: 100803
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Micro-Star MSI
driver: nvidia v: 515.57 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-06) arch: Ampere process: TSMC n7 (7nm)
built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 0a:00.0 chip-ID: 10de:2487 class-ID: 0300
Device-2: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 5-2:3 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 109 s-size: 802x333mm (31.57x13.11")
s-diag: 868mm (34.19")
Monitor-1: DP-2 res: 3440x1440 hz: 60 dpi: 110
size: 797x334mm (31.38x13.15") diag: 864mm (34.02") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel bus-ID: 5-2:3 v: kernel pcie: chip-ID: 046d:082d
class-ID: 0102 gen: 4 serial: <filter> speed: 16 GT/s lanes: 16
bus-ID: 0a:00.1 chip-ID: 10de:228b class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo
Sound Server-1: ALSA v: k5.15.52-1-lts running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.54 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-4:5 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 3.68 TiB used: 1.46 TiB (39.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: TeamGroup
model: T-FORCE TM8FP8001T size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: V9002s77 temp: 39.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: TeamGroup
model: T-FORCE TM8FP8001T size: 953.87 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: V9002s77 temp: 39.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 QVO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
Partition:
ID-1: / raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 298.07 GiB (31.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
ID-3: /home raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 298.07 GiB (31.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-4: /var/log raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 298.07 GiB (31.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-5: /var/tmp raw-size: 953.57 GiB size: 953.57 GiB (100.00%)
used: 298.07 GiB (31.3%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 33 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 365 Uptime: 1m wakeups: 0 Memory: 31.26 GiB
used: 5.87 GiB (18.8%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 14.0.6 Packages: pacman: 2283
lib: 561 Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.19
Garuda (2.6.4-2):
System install date:     2022-01-09
Last full system update: 2022-07-07
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:

Restore latte with garuda-assistant.
Why do you use

?

No problem on my two KDE installs.

Kernel: 5.18.9-zen1-1-zen

Nvidia/AMD PC

1 Like

Thanks for the reply!

Restoring Latte with Garuda Assistant worked. However, there are still a bunch of my settings that have been lost, including KWin script customizations, task switcher settings, etc. Is it possible to get these back by restoring a backup of something in my home folder?

Re: kernel, I used to use Zen, but I switched to LTS a few weeks ago after running into problems. It's in this thread here. I would still like to use Zen, and while LTS has been working, I still feel like whatever happened with my system hasn't been fully fixed, as I still have two separate Garuda Linux installations in my grub menu.

Sure, if you made backups. You did make backups, right?

2 Likes

Haha, yep. I've got daily backups. I just don't know what the best folder(s) to restore are. Would it be ~/.kde4 and ~/.config?

Unless you are taking snapshots of /home, booting into a snapshot or restoring a snapshot wouldn't fix that issue.

~/.config will be most of your configuration for all applications. If you are comfortable restoring that, it should be everything you need.

Restoring ~/config seems to have worked. :slight_smile:

Any idea why that would have been necessary? Do updates sometimes overwrite this stuff?

2 posts were split to a new topic: Install won't boot - root device mounted but /sbin/init does not exist