Hi all,

Today my system was working fine until I reboot. It do not boot into my desktop anymore. It boot into shell. It look like this:

https://ibb.co/TMmj6d88

I am not really an expert in file system, so I am not really sure what is the first step or is this recoverable. Which mean I will need a lot of help from you guys. Any help would be appreciated thanks.

I followed this fix https://blog.fyralabs.com/btrfs-corruption-issues/

      • darcmage@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

        Glad to see you got it fixed. Just out of curiousity, when was your last update before today and what kernel version were you on pre and post update?

        • Kiuyn@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

          Hi, I update today when I just wake up(it is my routine at this point). I am using Linux 6.15.8-zen1-1-zen. My kernel is the same pre/post because there isn’t kernel update today.

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    First

    lsblk to get the list of block devices (you can use size to figure out your file system)

    Then: mount -o remount,rw /dev/${name found in previous step} /

    Then check for bad entries in your /etc/fstab and fix them

    Then check for failed services: systemctl —failed

    Then you should be able to:

    systemctl set-default graphical.target to boot

            • Kiuyn@lemmy.mlOP
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              1 day ago

              This is the painful part I don’t know why my fstab is nuked. It is completely empty. I am writing it rn and it is painful. I have a question to ask tho. After I finish writing it what do I do? Do I reboot?

              Edit: Okay after I finish the fstab I do mount -a it did not work. ;). I am not sure if what I did is good though. I just copy fstab of a new installation of arch on my laptop and change the UUID

              • bacon_pdp@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                1 day ago

                You don’t need to use the uuid for /etc/fstab (which should make it much easier)

                You don’t need to reboot just set the run level via: systemctl set-default graphical.target

  • FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    I did a system update today and it deleted my entry in the UEFI Boot Manager so I had to manually re-add it.

    I wonder if these are related.

  • crankyrebel@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    I hate these Grub/boot errors. They are a pain to fix, not that it is hard, but I always have to read-up on how to do it properly. I am guessing you probably did an update maybe that caused this? Do you have a backup system to restore? That is the easiest fix. If not, next time get one in place. Here is a helpful ‘how to fix’ the issue.

    You’ve got this! 👍

  • Auth@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 day ago

    can you post the config from /etc/fstab

    If you have a usb with another distro (not arch) you can plug it in and boot into the live environment. Then from there you can look at the filesystem on your other drives. Or you can do it from the emergency shell whichever you prefer.

    • Kiuyn@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      I checked my fstab to painfully found out that it is somehow empty. I am starting to losing my hope lol.

      • Auth@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        thats fine you can write a new one. Check the output of blkid or some command that lists drives. Then take a look at an example fstab config and copy it. If you can install genfstab from github that would be nice but idk if that cna be done from emergency shell.

        After fstabs rebuilt try restarting

        • Kiuyn@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

          Hi, sorry to bother you again. I did rewrite my fstab but after that I reboot and it is still the same and the fstab is still empty. Am I doing something wrong?

    • Kiuyn@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      Surprisingly nothing. I mean I did do update with pacman -Syu today, but I did reboot after that and my system work fine. After the I reboot the second time and now my fstab disappears.