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.
I would really appreciate URGENT help
If you need any more details I can provide.
EDIT
- 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 )
- I pressed
crtl+d
and got 👇🏽
- I typed my password and went into maintenance. Typed
journalctl -xb
and got 2667 lines 😵💫. While scrolling mindlessly, this looked like something 👇🏽
👉🏽
👉🏽
- 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"
- This my OS partition 👇🏽
- This is my subvol layout 👇🏽 (CachyOS default)
It sounds like the error you’re seeing is from attempting to restore the root subvol (@) while the booted into the system
To fix you’ll want to:
If you are still having issues you may need to chroot into the root partition and do an update to ensure your system images match what your bootloader is expecting.
First of all thanks.
I booted live Mint.
Mounted btrfs partition.
I renamed the backup (snapshot that btrfs assistant created while originally restoring before) to @.
Now my system boots but .snapshots are in original @ (which now I renamed as something else). I want those snapshots or delete altogether (for freeing up space).
I tried to rsync old snaps to new @. It worked, but now I have delete the snaps from old @ (source of snaps). Which I cannot do for some reason. It says read only file system. I typed
sudo btrfs property set -ts /path/to/snapshot ro false
it retuned errorcannot retrieve properties
Then I tried to delete .snapshots subvolume altogether, but it says directory not empty.
I used
sudo btrfs subvolume delete /path/to/.snapshots
(.snapshots is a separate subvol mounted on old @ subvol)
Now I have a working system but all my old snaps are stuck on old root. Which I cannot delete.
Idk what to do.😵💫
What’s your partition layout?