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)

  • starshipwinepineapple@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    24 days ago

    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:

    1. boot from live usb (arch or cacyos).
    2. mount btrfs partition and access your snapshots.
    3. Restore root subvol from live environment

    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.

    • gpstarmanOP
      link
      fedilink
      arrow-up
      1
      ·
      22 days ago

      First of all thanks.

      1. I booted live Mint.

      2. Mounted btrfs partition.

      3. 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).

      1. 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 error cannot retrieve properties

      2. 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.😵‍💫