30
[FIX]I need help rescue my archlinux system
(lemmy.ml)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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!
But you will want to clear out the failed systemd services first to ensure that you can boot.
systemctl --failed will list what failed
After you make your /etc/fstab
systemctl daemon-reload will regenerate the units files in /run/systemd/generator but doesn't start new automounts or stop ones removed from fstab.
systemctl start newmount.automount will start the mount. The .automount extension is required, as systemd assumes .service if not extension is specified.
systemctl stop oldmount.automount will remove a mount not longer in fstab
systemctl reset-failed will stop a previously failed removed mount from appearing in status messages
Ty, I fixed it. Turn out the issue was related to btrfs issue with newer kernel version.
Well done, happy to hear that you managed to fix it.
Ty!