You are not logged in.
Hi everyone,
New to Arch linux but I got a home server running a while ago maybe a 2-3 months ago. It was working perfectly fine until one day when I booted it I got an error from my motherboard with the following message:
"Reboot and Select proper boot device or Insert Boot Media in selected Boot device and press a key"
I got really scared that my hard drive got corrupted or it broke in some way but when I used an arch linux installer on my usb and mounted my hard drive I realized the files were still there and that the smartctl command showed it had no issues. I checked my BIOS and did find my hard drive with the ArchLinux installation set as the first priority for the boot sequence but it doesnt seem to actually work.
I saw the stickied post had instructions to post the logs from the dmesg for boot commands so here's the link to its pastebin: https://dpaste.com/APFKYYAAAn
However, I'm not sure if the dmesg command gave me the boot logs for my arch linux usb installation or the latest one from my hard drive. So if it's the wrong one I'm not sure how I would go about getting the ones for my hard drive.
When trying to get the logs of the last boot using journalctl, I got an error message saying the following: "Specifying boot ID or boot offset has no effect, no persistent journal was found" which leads me to believe its trying to get the USB's last boot instead of the hard drive despite mounting my hard drive.
I do have access to my /var/log directory and if there's anything in there that could help please let me know.
I added another pastebin with some command outputs I hope could be useful: https://dpaste.com/FJHWYTW9L
One concern I do have is my EFI system partition only has a few files which is in the pastebin I linked above.
Thanks in advance for any tips/help you could provide.
Last edited by harissa (2024-11-05 02:41:00)
Offline
What bootloader are you using? Have you forgotten to install or configure the loader?
Offline
What bootloader are you using? Have you forgotten to install or configure the loader?
Back when I first installed arch-linux I used the EFI boot stub and followed the instructions in this wiki: https://wiki.archlinux.org/title/EFI_boot_stub Please note that this installation was working before and I've been using it for a few months. I'm not sure why it stopped working all of a sudden.
Last edited by harissa (2024-11-04 23:24:38)
Offline
In that case, just those files on the ESP makes sense. It sounds like the entry got deleted and you'll have to remake it.
Online
In that case, just those files on the ESP makes sense. It sounds like the entry got deleted and you'll have to remake it.
Hi thank you very much that seemed to do the trick. To anyone that experiences this issue in the future here is what I did to fix it.
1. Mount the partitions according to how my installation was set up. In my case it followed what was in this wiki: https://wiki.archlinux.org/title/Installation_guide
2. chroot to the mounted installation
3. Recreated by boot entry using these instructions: https://wiki.archlinux.org/title/EFI_bo … efibootmgr
4. Rebooted
Note that after chroot'ing I also checked out the output of the dmesg command and noticed that my efi drive did not mount properly and had to use the fsck command to clear the error bit, but I'm not sure if this is neccessary or nor.
Offline