I was working on my machine and needed to install node/npm. I did that but had an error involving libcrypto.so cannot open shared object file. So I decided to run pacman -S openssl-1.1 to work around the issue.
Something obviously didn’t work properly as after, every command I typed into the terminal resulted in the previous libcrypto.so error I mentioned - even something like ls, neofetch or shutdown now so I decided to reboot to try and fix the issue.
Now libcrypto is causing some kind of kernal panic:
So now I need to fix this some how. My initial thoughts was to create an EOS bootable USB and some how remove the packages on my real machine through that somehow. Or on my research, arch chroot may be of help but I’m a little out of my depth here and would really appreciate some help with this. Plus, I’ve been waiting for something like this to happen because it is always a good excuse to learn more about Arch.
I’m pretty sure this is fixable but I can always do a fresh Install if necessary.
Thank you for your help, with your suggestion I apparently managed to fix my machine. I used pacman- static and managed to fix pacman so that the libcrypto error disappeared and that meant I could use it you run pacman -Syu and I did a full upgrade and it all seemed to work so I rebooted.
Now when I restart it barely starts Linux and just goes into the Dell bios . I have absolutely no idea what went wrong and am a bit stumped.
Ahh…when was the last time you updated your system? It must be horribly out of date.
Yes, you’re correct. Ironically, I didn’t want to get into a situation where an update ruined my system (I had heard that a lot about Arch and didn’t want to ruin my laptop setup) and being too cautious has got me there. Lesson learned.
When I run:
I get the output:
grub-install: error: cannot find EFI directory.
I ran ls /boot/efi and its empty. I’m guessing its not meant to be.
I may have done something stupid and ran sudo mount /dev/nvme0n1p1 /boot/efi (I think thats the EFI partion, it looks like it on fdisk -l ) whilst I was in arch-root on the main system and didn’t run it from the from the outside on the ISO like I did when I mounted my linux install.
Or I just could have gotten the path wrong. What is the correct path for the EFI if everything is default?
It does look like I have the correct files in /boot/ I can see things like efi, grub, initramfs etc.
Should I just run grub-install --no-nvram --efi-directory=/boot?