this post was submitted on 27 Feb 2025
29 points (87.2% liked)

Linux Questions

1529 readers
16 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
29
submitted 4 weeks ago* (last edited 4 weeks ago) by gpstarman to c/linuxquestions@lemmy.zip
 

Context: I updated my CachyOS (Arch) BTRFS system. Some new things caused few problems especially brave browser(missing tabs), some icons missing.

So I wanted to go back to previous snapshot.

What I did: I first restored my home subvol which I saved before update. I worked.

Then I tried to restored my root partition. This is where I got the problem.

I got this error.

1001090084

I would really appreciate URGENT help

If you need any more details I can provide.

EDIT

  1. I used BTRFS Assistant to restore the root partition. And I did it while the OS is running.

( I previously did that and got no issues )

  1. I pressed crtl+d and got ๐Ÿ‘‡๐Ÿฝ

  1. I typed my password and went into maintenance. Typed journalctl -xb and got 2667 lines ๐Ÿ˜ตโ€๐Ÿ’ซ. While scrolling mindlessly, this looked like something ๐Ÿ‘‡๐Ÿฝ

๐Ÿ‘‰๐Ÿฝ

๐Ÿ‘‰๐Ÿฝ

  1. This is my refind_linux.conf ๐Ÿ‘‡๐Ÿฝ
"Boot with standard options"    "quiet zswap.enabled=0 nowatchdog splash rw rootflags=subvol=/@ cryptdevice=UUID=60ecb22d-7685-43c2-ae2a-a2ad0c531cc7:luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7 root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7"

"Boot to single-user mode"    "quiet zswap.enabled=0 nowatchdog splash rw rootflags=subvol=/@ cryptdevice=UUID=60ecb22d-7685-43c2-ae2a-a2ad0c531cc7:luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7 root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7" single

"Boot with minimal options"   "ro root=/dev/mapper/luks-60ecb22d-7685-43c2-ae2a-a2ad0c531cc7"


  1. This my OS partition ๐Ÿ‘‡๐Ÿฝ

  1. This is my subvol layout ๐Ÿ‘‡๐Ÿฝ (CachyOS default)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] gpstarman 1 points 3 weeks ago

Short Answer: No, kernels are not snapshot ted

Long Answer: It's bit weird in my case.

Boot, EFI, Root are three separate partitions in my case.

Root mounts to /

Boot mounts to /Boot

Efi mounts to /boot/efi

It is this way because when I initially partitioned the EFI, I gave very less storage. But linux kernels are bigger than that. So, either I have move the partition. Which I didn't prefer because It'll take a lot of time and it said possibility of data loss.

So, I simply created new partition.

By default, CachyOS only snapshot /@ and /@/home. Which didn't include /boot because it's a separate partition it's own and not even BTRFS.