[SOLVED] PC gets stuck on bootloader

lemmy.world/pictrs/image/0134cf15-b239-4760-b44…

submitted by cetvrti_magi edited

[SOLVED] PC gets stuck on bootloader

When I turn on my PC it gets stuck on bootloader, I can't do anything in it. As you can see on the image I don't have dual boot setup. I haven't changed any configuration recently. Any ideas what's the problem and how to fix it?

Solution: I put USB UEFI as first boot option in BIOS.

Log in to comment

7 Comments

bi_tux

did that occur after an installation, or just randomly?

UnfortunateShort

Could be plenty of things. Start with the easy ones.

I suggest first you check whether the keyboard works on a different USB port - particularly one connected directly to the CPU. I'd also try another keyboard or check whether the keyboard itself works - for good measure.

If it's not USB or your keyboard, it's time to plug in a boot stick. Check the drive your bootloader is installed on - SMART status and maybe the partition itself. Maybe your drive or the FS are toast for some reason. If that's the case, try to salvage your data and create a boot partition elsewhere. If not, consider reinstalling your bootloader.

Looks easy enough in your case, since it seems to be systemd-boot? If it is, you basically just need a bootstick with systemd. Then mount the target partition at the right mount point (I think default is /efi) and run bootctl install. See also: https://wiki.archlinux.org/title/Systemd-boot

This SHOUDL only put the binary in the right spot and point the BIOS towards it, but maybe copy the config if you're in there already.

If that still does nothing, maybe try resetting the BIOS. If that doesn't work, try flashing the latest version for your motherboard. (Mind that in most cases that resets all your BIOS settings and might cause new trouble. Maybe also download the last version you know worked as fallback.)

GolfNovemberUniform

How old is the computer? I had that when tried to install any modern distro on a 20 years old PC

cetvrti_magi [OP]

Around 1 and a half years.

GolfNovemberUniform

Hmm open the BIOS boot order and make sure USB UEFI is the first. There can be USB without UEFI too. That should be below. If doesn't work, make it the other way around and try again

cetvrti_magi [OP]

It works, thanks.

littletranspunk

Please put the solution in the original post