Looks like the update was interrupted or something, and now there is no Linux image for your bootloader to boot into. Get Arch Linux live environment on some USB stick (i.e. write the .iso), boot the PC off it, mount and arch-chroot to your system, and do mkinitcpio -p linux to rebuild the kernel image.
As a bonus: pacman -S linux-lts. It doesn't hurt to have a spare kernel to boot just in case something goes south or there's a bug or regression in the latest one.
This isn't StackOverflow, but this comment being the most upvoted one and with replies like this, it would be considered as "the most right one" by someone reading it later, " else why it would be upvoted so much" lol
So my current plan is to unhook all the drives which autoboots me into the uefi where I can change the boot order, have it boot USB first, then hook the drives back up, boot USB perform required kernel image fix. I despise this motherboard
You could probably also unhook all drives and plug in your USB stick, let it boot into it, and then hook drives back in. In my experience SATA drives don't mind being hotplugged and Linux detects them in most cases, so you should be fine. And if anything, plug them in on the selection menu right after booting, and only then boot into live environment - this way when the kernel starts all the drives are already there to detect.
Update: I was able to get in by removing the drives and letting the motherboard default to the UEFI screen. From there I was able to boot my trust arch usb and fix the issue. Thankyou all for you support and humor. Both are required in such situations.
There's a "fast boot" setting somewhere in the UEFI/BIOS menus. When it's enabled the UEFI doesn't wait for a keyboard press before it loads the OS boot-loader. Maybe that feature is enabled for you?
With that "fast" boot option, you are supposed to get into the UEFI menus from your OS. With systemd there's this command here to do that:
systemctl reboot --firmware-setup
I've seen this setting usually in the same area of the UEFI menu where you can change boot order and "CSM" (BIOS compatibility) and "Secure Boot".
I did disable fast boot once I got it, but didn't test if that was the issue. It was set to ultra-fast.
I had that in my rc to be able to switch to windows since I couldn't move down the grub menu. I think it might be good now though. Once I'm done working today I will test booting up various ways.
If your motherboard happens to have a PS/2 port (those old circular ones), it'll most likely be able to recognize a PS/2 keyboard at boot, pretty sure it always does.
So, if it has one, go to a thrift store and buy a PS/2 keyboard to have at hand when you need to enter the BIOS.
Well yeah. Its not a hard issue to fix if you can boot from usb but if you dont have a keyboard on boot, you can't access the bios to switch to a different device. So you just end up booting the top priority again which in my case was grub and then I can't stop it from booting my broken arch. Round and round we go. Removing the hard drives worked though. Kinda ridiculous that this motherboard has this issue though. I checked all the usb settings too and they look fine. Pretty sure it has to do with the fast boot feature but I'm not sure. If I reboot with systemctl reboot --firmware-setup I get the keyboard on boot, otherwise I get like 5 bell chimes from the board letting me know I'm boned.
If you have a PS/2 keyboard port, use that instead of USB (this works even with a USB->PS/2 adapter). PS/2 ports use system interrupts to send keyboard instructions avoiding the need for drivers to be preloaded in order to use.
I've noticed this in Arch (using it for a bit of time now, coming from Fedora): there's no older kernel available, at least not by default or that I can tell. When this would happen in fedora, you just boot the older known-good kernel and you're off to the races as it keeps 3 of them (configurable).
How can you get that in Arch? Is it easy as installing package X or editing conf file Y or would it be an elaborate process? It's a super useful thing to have for when shit hits the fan.
linux and linux-lts are in the core repo. linux-zen and linux-hardened are in extra. Except for linux-lts they all tend to update at roughly the same time though, so linux-lts is probably your best bet for a backup kernel. There are also a myriad of options available in the AUR. The kernels available in the official repos should all be using automatic post transaction hooks now so you would have nothing to do but keep up to date using pacman. I also have an architecture specific linux-ck-k10 kernel from the AUR and it updates automatically too. Getting an additional kernel or two is as easy as installing with pacman. I didn't think the automation would be a big deal, but it does make updating kernels completely painless. It's not like running the GRUB update command was difficult or anything, but I find that I don't miss it. LOL
Just search for linux in the main repositories from the Arch front page to see the official options. If you have to compile kernel modules for anything (video drivers, etc.) you will also want the corresponding linux-headers and linux-docs packages. I have been running Arch with extra kernels for five years and I have never needed them, but it is nice to know they are there. I also run alternative desktop environments just in case, and I have needed them. The early days of Plasma 5 were a bit painful for some of us. The problems were not widespread, but those of us who were affected had a bad day (actually more like a month). The linux-zen kernel is optimized for desktop use, and makes everything just a bit more responsive. It's worth trying.
Just had the same problem because the laptop shutdown during the upgrade
Boot from usb or cd with arch
Mount your boot and root partitions
Arch-chroot /mnt
Pacman -Syu mkinitcpio systemd linux
Exit
Umount the partitions
Reboot
54 comments
Looks like the update was interrupted or something, and now there is no Linux image for your bootloader to boot into. Get Arch Linux live environment on some USB stick (i.e. write the .iso), boot the PC off it, mount and
arch-chrootto your system, and domkinitcpio -p linuxto rebuild the kernel image.Been here, done this.
Consider it one of the basic merit badges of arch-usership.
Now I need to check my bootable USB is still bootable...
I couldn't agree more!
I just did this for the first time last week thanks to a laptop battery that occasionally dies while reporting 30% charge.
As a bonus:
pacman -S linux-lts. It doesn't hurt to have a spare kernel to boot just in case something goes south or there's a bug or regression in the latest one.You also might consider reinstalling the linux package before following these steps
I wish there was a way to mark this as the correct method
This isn't StackOverflow, but this comment being the most upvoted one and with replies like this, it would be considered as "the most right one" by someone reading it later, " else why it would be upvoted so much" lol
Press any key to continue...the irony tho
presses power button
toggles switch enigmatically labeled "110/220"
Listen here...
In panic presses bellybutton.
Deleted before we saved it.
Takes out cycle key, puts it on table and presses it.
Game over.
Use a live medium to fix your grub entries. Preferably
chrootand regenerate.There was an entry about keyboard not recognized on boot on ArchWiki/News. Don't recall.
So my current plan is to unhook all the drives which autoboots me into the uefi where I can change the boot order, have it boot USB first, then hook the drives back up, boot USB perform required kernel image fix. I despise this motherboard
Seems like a sensible plan
Good luck
You could probably also unhook all drives and plug in your USB stick, let it boot into it, and then hook drives back in. In my experience SATA drives don't mind being hotplugged and Linux detects them in most cases, so you should be fine. And if anything, plug them in on the selection menu right after booting, and only then boot into live environment - this way when the kernel starts all the drives are already there to detect.
Hot plugging is in the spec so it should be always fine
Shouldn't your keyboard still be detected by the motherboard, allowing you to boot into BIOS/UEFI with one of the usual keys?
In my experience, sometimes some usb ports are not auto-detected by the motherboard. Have you checked whether you have any luck in other ports?
Update: I was able to get in by removing the drives and letting the motherboard default to the UEFI screen. From there I was able to boot my trust arch usb and fix the issue. Thankyou all for you support and humor. Both are required in such situations.
There's a "fast boot" setting somewhere in the UEFI/BIOS menus. When it's enabled the UEFI doesn't wait for a keyboard press before it loads the OS boot-loader. Maybe that feature is enabled for you?
With that "fast" boot option, you are supposed to get into the UEFI menus from your OS. With systemd there's this command here to do that:
I've seen this setting usually in the same area of the UEFI menu where you can change boot order and "CSM" (BIOS compatibility) and "Secure Boot".
I did disable fast boot once I got it, but didn't test if that was the issue. It was set to ultra-fast.
I had that in my rc to be able to switch to windows since I couldn't move down the grub menu. I think it might be good now though. Once I'm done working today I will test booting up various ways.
function reboot_uefi(){sudo systemctl reboot --firmware-setup}If your motherboard happens to have a PS/2 port (those old circular ones), it'll most likely be able to recognize a PS/2 keyboard at boot, pretty sure it always does.
So, if it has one, go to a thrift store and buy a PS/2 keyboard to have at hand when you need to enter the BIOS.
I did actually try this and it was no good. With fast book disabled everything seems fine now.
Chroot with archiso and install Linux again
Rebuilding initramfs with
mkinicpio -p <your linux kernel name>is probably enoughReinstallating is for Ubuntu user
The message about the kernel not being found didnt bother you ?
Well yeah. Its not a hard issue to fix if you can boot from usb but if you dont have a keyboard on boot, you can't access the bios to switch to a different device. So you just end up booting the top priority again which in my case was grub and then I can't stop it from booting my broken arch. Round and round we go. Removing the hard drives worked though. Kinda ridiculous that this motherboard has this issue though. I checked all the usb settings too and they look fine. Pretty sure it has to do with the fast boot feature but I'm not sure. If I reboot with systemctl reboot --firmware-setup I get the keyboard on boot, otherwise I get like 5 bell chimes from the board letting me know I'm boned.
Ah okay thanks for the explanation, personaly I do not use fast boot so I didn't think of that
If you have a legacy PS/2 port you can use a keyboard that way to get into bios for the boot order. The USB driver is wrapped up in the image issue.
I actually tried this and it did not work. The ps/2 port yielded the same stupid chiming and lack of keyboard detection. Most irritating.
I'm with you. I don't like that motherboard.
This may help, but won't fix the problem.
If you have a PS/2 keyboard port, use that instead of USB (this works even with a USB->PS/2 adapter). PS/2 ports use system interrupts to send keyboard instructions avoiding the need for drivers to be preloaded in order to use.
Disable fastboot in your motherboard's BIOS/UEFI settings. Your keyboard should work during boot after that.
Didn't know how to solve that on pc so i copied entire / from my laptop, changed uuids and ownership
Holy SHIT. Poor Guy. lol
Never break your os while half asleep because then you have stupid ideas like that xd
I've noticed this in Arch (using it for a bit of time now, coming from Fedora): there's no older kernel available, at least not by default or that I can tell. When this would happen in fedora, you just boot the older known-good kernel and you're off to the races as it keeps 3 of them (configurable).
How can you get that in Arch? Is it easy as installing package X or editing conf file Y or would it be an elaborate process? It's a super useful thing to have for when shit hits the fan.
linux and linux-lts are in the core repo. linux-zen and linux-hardened are in extra. Except for linux-lts they all tend to update at roughly the same time though, so linux-lts is probably your best bet for a backup kernel. There are also a myriad of options available in the AUR. The kernels available in the official repos should all be using automatic post transaction hooks now so you would have nothing to do but keep up to date using pacman. I also have an architecture specific linux-ck-k10 kernel from the AUR and it updates automatically too. Getting an additional kernel or two is as easy as installing with pacman. I didn't think the automation would be a big deal, but it does make updating kernels completely painless. It's not like running the GRUB update command was difficult or anything, but I find that I don't miss it. LOL
Just search for linux in the main repositories from the Arch front page to see the official options. If you have to compile kernel modules for anything (video drivers, etc.) you will also want the corresponding linux-headers and linux-docs packages. I have been running Arch with extra kernels for five years and I have never needed them, but it is nice to know they are there. I also run alternative desktop environments just in case, and I have needed them. The early days of Plasma 5 were a bit painful for some of us. The problems were not widespread, but those of us who were affected had a bad day (actually more like a month). The linux-zen kernel is optimized for desktop use, and makes everything just a bit more responsive. It's worth trying.
It's probably worth reading this short page:
https://wiki.archlinux.org/index.php/Kernel
This is the opinion of someone who should know about kernels:
http://kroah.com/log/blog/2018/08/24/what-stable-kernel-should-i-use/
oh, so not possible in arch to just keep the last 3 versions of the kernel i use. the only remedy is to use some other kernel flavour.
Just had the same problem because the laptop shutdown during the upgrade Boot from usb or cd with arch Mount your boot and root partitions Arch-chroot /mnt Pacman -Syu mkinitcpio systemd linux Exit Umount the partitions Reboot
Always so fun to setup arch