Hi and welcome to the forum.
First, please read this:
https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/
Without including the relevant system logs, it would be very difficult to help you. If you want to maximise your chances of getting help, a good idea is to read this, as well.
It is probably not productive to try to guess what is wrong with your system, but trying out the LTS kernel can’t hurt, and might fix your system freezes. To do so, install the packages linux-lts
and linux-lts-headers
, reboot and during boot, select the LTS kernel.
Also check this:
https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_7)
Second, if your computer for some reason freezes (and this can happen from time to time, it’s nothing catastrophic), do not cut power to it, as this can cause filesystem corruption. This is why fsck
ran after you did this, and will probably run on the next few reboots, too. Hopefully, there was no filesystem corruption as this can sometimes be tricky to fix without reinstalling the OS.
On Linux, there is rarely ever a reason to do a hardware reset, for example, by cutting power to your computer, or by using the reset button on your case. Doing so can cause more problems than the original crash.
Instead, enable the magic SysRq key in advance, and use it to safely Reboot Even If System Utterly Broken:
Third, and slightly off topic:
Frustration is not your friend. If you are completely new to Linux, there is going to be a certain period (maybe 6 months, maybe a year) where nothing will seem to go your way, simply because Linux is very different from windoze. I would recommend you adopting a curious, problem-solving and learning mindset. Think of it as an endeavour, a journey into an unknown, exciting land called: the outside of your comfort zone. There will be many setbacks on this journey, but if you persist it will be very rewarding.
If you find yourself lacking the inquisitive, DIY mindset necessary for using Arch Linux (which is basically what EndeavourOS is) and would prefer things to (mostly) just work, then a distribution like Linux Mint might be a better choice, at least for the first few months of your Linux journey.