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:
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/
Increased reports since 6.15.3 of corruption within the log tree
Seems like a btrfs bug. Bunch of links in that thread with similar reports and screenshots. They also include the suggested fix.
Thank, I will look at it!
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?
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.
Interesting. So it’s still an issue on latest stable kernel but we don’t know what the exact cause is.
I guess this is the fun of living on the bleeding edge side.
I wouldn’t call Fedora bleeding edge and they were also affected.
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
Sorry,but I don’t have lsblk for some reason.
How about blkid?
Yes I do have it.
Ok notice the uuids, then look in your /etc/fstab file to see if they match
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
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
Sure, thankyou!
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.
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! 👍
Not grub; that is a systemd error shell due to a failed mount (probably because the value in /etc/fstab is wrong)
The I will take a look!
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.
I checked my fstab to painfully found out that it is somehow empty. I am starting to losing my hope lol.
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
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?
Okay I will try. Thanks you!!!
What did you do before the reboot?
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.