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)

  • Lojcs@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 hours ago

    Did you try regenerating the initramfs after rolling back the root partition? That’s what’s wrong whenever my install is fucked. I’m unfamiliar with the recovery console but see if you can

    • manually unencrypt cryptsetup open /dev/nvme0n1p2 root,
    • mount mount /dev/mapper/root /mnt -o subvol=@root mount /dev/nvme0n1p1 /mnt/boot,
    • chroot into the system arch-chroot /mnt
    • and run mkinitcpio -P

    Edit: Oh the screenshot just loaded in. The problem seems to be that you can’t mount /boot? What happens when you try to mount it manually?

  • Scholars_Mate@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 hours ago
    • What steps did you take to rollback your root subvolume?
    • Can you log into the emergency shell and share any logs?
    • Is your root partition mounted in the emergency shell, or is the initramfs still mounted in the emergency shell?
    • gpstarmanOP
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago
      1. I just used BTRFS Assistant to restore. I did while the OS is on.

      2. I shared some on edited post. Pleae look.

      3. Idk for sure. But it shows my user name after I enter password. So, I think root?

  • umbrella@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 hours ago

    well, you can start by typing the journalctl command the system is instructing you to, after getting into the maintenance shell. always get the logs and error messages so you can understand what happened. if you need to, share it with us so we can have a go at deciphering what the computer is saying about it.

    it would help if you could provide more details about what you were trying to do, and how it broke to make a restore necessary in the first place.

    • gpstarmanOP
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Journal is 2667 lines 🥲

      Please look at edited post.

      • umbrella@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        7 hours ago

        i see it struggling to mount the boot device is the device id its referencing on the fstab and on refind matching its current id?

        • gpstarmanOP
          link
          fedilink
          arrow-up
          1
          ·
          7 hours ago

          It does match.

          I included refind_linux.conf and partition UUID already. Should I include fstab too?

          • umbrella@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            6 hours ago

            does it mount correctly from a live usb?

            alternatively, can you mount it manually from maintenance shell?

            meaning: is the boot partition botched, or is it a bootloader config issue?