Not able to restore the system

Hello ,
I just wanted to try out a kernel cachyos as read about it here :

the kernel doesn't worked but that's not a problem the real problem is that after installing it, I wasn't even able to log in through my old kernel linux-cacule and so for getting it into previous state I tried to restore my system through grub boot menu I was able to boot into a snapshot just before I tried to install cachyos and there came a pop up of btrfs assistant to restore the sanpshot I just clicked yes and typed my password but it doesn't restored anything and when I rebooted it was still not showing login option .
Please help me so that I can restore my system .
Thanks in advance .
garuda-inxi

╭─[email protected] in ~
 ╰─λ garuda-inxi
System:
  Kernel: 5.15.3-2-cacule x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/.snapshots/636/snapshot/boot/vmlinuz-linux-cacule
    root=UUID=3d8862a3-cc90-4161-81ad-195e8064062c loglevel=3 quiet splash
    systemd.unified_cgroup_hierarchy=1 sysrq_always_enabled=1
    rootflags=defaults,noatime,noautodefrag,compress=zstd,[email protected]/.snapshots/636/snapshot
  Desktop: sway 1.7 vt: 1 dm: N/A Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 7570 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 06K08K v: A00 serial: <superuser required> UEFI: Dell
    v: 1.16.0 date: 02/17/2020
Battery:
  ID-1: BAT0 charge: 21.2 Wh (100.0%) condition: 21.2/42.0 Wh (50.5%)
    volts: 12.7 min: 11.4 model: Samsung SDI DELL CYMGM79 type: Li-ion
    serial: <filter> status: Full
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: Discharging
CPU:
  Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xEA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 794 high: 800 min/max: 400/4000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 764 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 795 8: 800 bogomips: 32026
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
    bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Dell driver: nouveau
    v: kernel bus-ID: 01:00.0 chip-ID: 10de:134d class-ID: 0302
  Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
    driver: uvcvideo bus-ID: 1-5:3 chip-ID: 1bcf:28c1 class-ID: 0e02
  Display: wayland server: N/A compositor: sway v: 1.7 driver:
    loaded: nouveau note: n/a (using device driver) display-ID: 1
    resolution: <missing: xdpyinfo>
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
    chip-ID: 8086:9d71 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.3-2-cacule running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.44 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Dell driver: r8169 v: kernel port: d000 bus-ID: 02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel bus-ID: 03:00.0
    chip-ID: 8086:095a class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:4 chip-ID: 8087:0a2a class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A
    class-ID: 0104
Drives:
  Local Storage: total: 1.14 TiB used: 32.82 GiB (2.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: SDM3
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Micron model: 1100 SATA 256GB
    size: 238.47 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: L003 scheme: GPT
Partition:
  ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 32.82 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 32.82 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 32.82 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 32.82 GiB (3.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.51 GiB used: 3.5 MiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 42.0 C pch: 43.0 C mobo: 43.0 C sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 253 Uptime: 18m wakeups: 4 Memory: 7.51 GiB
  used: 2.04 GiB (27.2%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1517 lib: 470 Shell: fish
  v: 3.3.1 running-in: alacritty inxi: 3.3.12
Garuda (2.5.3-1):
  System install date:     2022-01-24
  Last full system update: 2022-02-01
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:            garuda-pacman-lock.service nmb.service smb.service systemd-guest-user.service

 ╭─[email protected] in ~ took 4s
 ╰─λ

One more thing, if I try to open btrfs-assistant through the terminal then this happens : :

╭─[email protected] in ~ took 4s
[🔴] × btrfs-assistant

(btrfs-assistant:4200): Gtk-WARNING **: 15:54:21.419: Theme parsing error: gtk.css:5822:26: '-shadow' is not a valid color name

(btrfs-assistant:4200): Gtk-WARNING **: 15:54:21.419: Theme parsing error: gtk.css:5825:14: not a number

(btrfs-assistant:4200): Gtk-WARNING **: 15:54:21.420: Theme parsing error: gtk.css:5826:13: not a number

(btrfs-assistant:4200): Gtk-WARNING **: 15:54:21.420: Theme parsing error: gtk.css:5827:11: Expected a length
Authorization required, but no authorization protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.


 ╭─[email protected] in ~ took 6s
 ╰─λ sudo pacman -S btrfs-assistant
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

 ╭─[email protected] in ~ took 38ms
[🔴] ×

It's something with Wayland and pkexec I don't understand too well.

Use sudo -E btrfs-assistant

It will warn QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1001
but otherwise work.

4 Likes

Thanks I have actually used this for many times but this time I got panicked and forgot about this thing :sweat_smile:

I'm even worse at that... I forget way easier than I learn.

This polkit/wayland thing is quite unfortunate, I hope it gets sorted out one day.
We have all these wonderful tools but a newb like me will pick one from wofi, enter a password and wait scratching his head for a window that never happens.

Hey everyone is a newb at starting , and everyone learns with time :wink:

Good catch, @meanruse , well done!
In my opinion restore-related topics are always tricky.
The OP's can get anxious (not in this case :slight_smile: ) and start taking the most varied ways, unmounting and remounting snaphots, volumes and whatnot all over the disk, changing fstab, anything.

1 Like

I Don't know to do any of the above things :sweat_smile:

1 Like

Oh it's actually your merit, you advised that somewhere I could not find again to reference.
As for getting anxious, just the other day I went nuts with my mirrorlist after some (probably) missing gpg key...

2 Likes

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