this post was submitted on 01 Mar 2024
42 points (86.2% liked)

Linux

48181 readers
1163 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] bi_tux@lemmy.world 3 points 8 months ago

did that occur after an installation, or just randomly?

[–] UnfortunateShort@lemmy.world 2 points 8 months ago

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@lemmy.ml 1 points 8 months ago (1 children)

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

[–] cetvrti_magi@lemmy.world 2 points 8 months ago (1 children)

Around 1 and a half years.

[–] GolfNovemberUniform@lemmy.ml 6 points 8 months ago (1 children)

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@lemmy.world 5 points 8 months ago (1 children)
[–] littletranspunk@lemmus.org 10 points 8 months ago

Please put the solution in the original post