You are not logged in.
This afternoon my system froze (probably due to a bug in Zoom communication software).
When I wanted to reboot, I got an error from the BIOS saying
"reboot and select proper Boot device or insert Boot Media in selected Boot device and press a key.
I can boot without problem from Archiso install USB stick.
Hardware:
Motherboard AsRock N3700-ITX, BIOS v2.00 (updated after the crash from v1.80)
My hard drive has three partitions
Device name Partition Partition size File system Flags
/dev/sda1 /boot 523MB fat32 boot,esp
/dev/sda2 / 454GB ext4
/dev/sda3 25.9GB linux-swap
Partition table: gptThis is the actual output from parted
I removed a dirty bit with fsck.vfat on /dev/sda1, but that didn't change anything.
No problems detected when fsck'ing /dev/sda1 and /dev/sda2.
Any suggestions how to troubleshoot and to get my machine rolling again?
Last edited by zilverling (2018-06-05 21:46:22)
Offline
Not an Installation issue, moving to NC...
Offline
Thanks @jasonwryan. I was at a loss where to post this. Even when I don't consider myself a newbie to Arch Linux (I've been using Arch since August 2009), it's probably the best forum for my question.
Offline
Chroot in and check your /boot: make sure everything is intact. Regenerate your initramfs.
Also check in your UEFI interface that the boot order is correct.
Offline
Thanks for the suggestions.
Generated new initramfs images. No effect.
Boot order is simple: just Boot option #1: AHCI PO ADATA SP550 , which is my SSD drive.
When I insert the archiso usb, two additional boot options are shown by the BIOS:
Boot Option #2 USB: Adata USB Flash Drive 0.00
Boot Option #3 UEFI: A-Data USB Flash Drive 0.00. Partition 1
When installing Arch on this machine in January this year I had some difficulty to get UEFI going. According to the notes I made at that time, I had to switch Compatibility Support Mode off in the BIOS, but if I do so now, the BIOS does not find the SSD drive.
Last edited by zilverling (2018-06-05 18:52:56)
Offline
Use efibootmgr to print the current settings.
Offline
after arch-chrooting to my N3700-ITX machine I get the following
[root@archiso /]# efibootmgr
EFI variables are not supported on this systemI booted the archiso-USB in UEFI mode (option #3)...
Offline
Does dmesg | grep efi produce any output? If not I would suggest the system is booting in BIOS mode.
Offline
Turns out the archiso-USB was not booted in UEFI mode. After I switched off CSM (UEFI COmpatibility Support Mode) I did succeed to mount the archiso-USB in UEFI mode.
Problem is that if I switch off CSM, the BIOS somehow does not see the SSD drive.
I think this is some nasty peculiarity of the N3700 BIOS. I think I am close to finding the trick. @jasonwryan thanks for your help so far. I may be back soon with good news.
Offline
If the firmware has reset all settings that would include those relating to the SSD such as the controller being in RAID rather than ACPI mode.
The dmesg may contain output explaining the SSD detection failure.
Offline
More complicated than I hoped.
@loqs If I boot the archiso with CSM disabled I get output from dmesg | grep efi
@jasonwryan
Output after arch-chrooting to my N3700-ITX machine:
[root@archiso /]# efibootmgr
BootCurrent: 0003
TimeOut: 1 seconds
BootOrder: 0003
Boot0003* UEFI: A-DATA USB Flash Drive 0.00, Partition 1For some reason the BIOS doesn't find the SSD with CSM disabled...
Back on this tomorrow morning.
Last edited by zilverling (2018-06-05 21:33:56)
Offline
You can try manually writing a boot entry for your SSD in the nvram.
Offline
Solved it:
grub-install --efi-directory=/boot(/boot is my efi-directory) did the trick.
I will document this. Thanks for your help @jasonwryan and @loqs
Offline