You are not logged in.
Yesterday I installed archlinux on my old laptop to try and run a valheim dedicated server on it. I installed only the necessary packages and started the server successfully. I wanted to close my lid and leave my laptop in a corner somewhere and just play the game from my main PC so I followed this answer on how to do that:
https://unix.stackexchange.com/question … laptop-lid
I started the server and had a noip client running in the background after which I closed the lid and put the laptop down.
After several hours I decided to give it a go and see how it's doing and I tried to connect to it, but it didn't work. I opened my laptop lid and I saw the server spitting logs like no tomorrow (something about sleep and not knowing what sleep is). I made nothing of it so I tried to reboot using the command line, but it didn't work. I could not use the command line for executing any command, so I just pressed the power button.
After that the HDD could not be found anywhere. No boot options or anything just BIOS. I put the USB stick I used to install arch with in and ran `fdisk -l` , but it showed my USB stick in /dev/sda and a loop. Keep in mind that it worked previously.
I tried following this thread that had a similar problem, but it did not work for me.
Is my HDD gone? What could have caused this?
Offline
Check/post your dmesg on whether there are any errors accessing the device.
Offline
The strangest thing happened:
As I was about to check the output of dmesg I decided to run fdisk -l again and to my surprise /dev/sda had my HDD back up.
I swear I didn't do anything in the meantime and it just came back on its own. It is a miracle.
Is there a way of finding out what happened?
Offline