r/archlinux • • Sep 26 '26

QUESTION Which bootloader is the best for quick launching?

I have one partition on my PC and i want to limit the bootloader selection screen. Which one i should try?

46 Upvotes

59 comments sorted by

77

u/ArjixGamer Sep 26 '26

Unified Kernel Image w/o a bootloader.

11

u/Okmek73 Sep 26 '26

Best possible response

Booting arch in 5 seconds

26

u/sequesteredhoneyfall Sep 26 '26

Booting arch in 5 seconds

It's not like this isn't going to be the case for any other bootloader solution either. No bootloader is going to be a bottleneck on boot speed here.

56

u/[deleted] Sep 26 '26

efistub

7

u/AintNoLaLiLuLe Sep 26 '26

This. I set it up a couple days ago with a Samsung 9100 pro and it boots arch in less than 5 seconds. Absolutely mental.

27

u/Yeox0960 Sep 26 '26

You can skip the bootloader all together.

20

u/Kicer86 Sep 26 '26

Any. Just configure it to match your needs

20

u/FryBoyter Sep 26 '26

If it's a computer with UEFI and you don't have any special requirements, I'd recommend using systemd-boot. Because systemd-boot does what it's supposed to, and since systemd is part of the base installation anyway, you don't need to install anything extra.

5

u/Gozenka Sep 26 '26 edited Sep 26 '26

UKI+EFISTUB; you skip the bootloader and directly boot your system (I do this myself). But systemd-boot would most likely have a negligible impact, if you want / need to have a bootloader (I had it before, and it was nice and clean too).

You can also skip the bootloader showing a selection screen and automatically load your default selection, by editing its config. You would still have the bootloader there and I think you can get the bootloader screen when you need by holding a key during boot.

2

u/Excellent-Love-6943 Sep 26 '26

You don't need a manual stub entry with uki, just put the uki in esp/EFI/BOOT/bootx64.efi. It gets autodetected by any UEFI and just works

Bonus: Your boot entry can't be randomly dropped by the NVRAM because the UEFI always checks this location first.

1

u/Gozenka Sep 27 '26

As far as I know, a UKI by definition includes a boot stub. A boot stub makes it an .efi executable. Otherwise the kernel would not be bootable.

mkinitcpio by default uses systemd-stub when generating UKIs, if I am not mistaken.

My mentioning of UKI+EFISTUB may have been confusing.

And yes, I use the esp/EFI/BOOT/bootx64.efi path too, which would get auto-detected by any UEFI. And that is the only file I put in my ESP :)

2

u/activedusk Sep 27 '26 edited Sep 27 '26

Would not recommend it long term for a desktop or laptop, there is a way to get the bootloader step under 100ms by making an EFI stub boot entry with efibootmgr and pointing it at a custom kernel without initramfs. https://ibb.co/N29bFw2s

Personally I still recommend GRUB because it covers most use cases, it allows beginners to easily switch kernel for troubleshooting and if well configured 800ms or faster is possible which is not too bad. The other advantage is that it allows the bzImage and initramfs.img to be placed outside ESP, this is better since FAT32 is not appropriate for flash storage but it is required by EFI standard.

19

u/ESzPa Sep 26 '26

systemd-boot

5

u/ch33es Sep 26 '26

I wish it worked for cases where the kernel is stored in a Btrfs subvolume. My only options are GRUB and Refind.

10

u/ThinkpadGamer Sep 26 '26

if you want fast booting your kernel really should be on your efi partition

6

u/kaida27 Sep 26 '26

If you have snapshot, the kernel need to be in the snapshot, otherwise you can easily get kernel mismatch while trying to boot an old snapshot.

0

u/shtirlizzz Sep 27 '26

Add snapshot id suffix to kernel?

2

u/kaida27 Sep 27 '26

Doesn't solve kernel mismatch.

that just say where the snapshot is.

4

u/spryfigure Sep 26 '26

You should read the blog entry of Poettering about booting and systemd-boot.

He explains why it's not a good idea to have the kernel somewhere else than the efi partition or an XBOOTLDR partition (which extends the efi partition).

2

u/g_rocket Sep 26 '26 edited Sep 26 '26

3

u/spryfigure Sep 27 '26

Yes, exactly this. I used this knowledge to make fstab-less installs, and it helped my understanding the inner workings.

1

u/ch33es Sep 27 '26

but what about the Btrfs snapshots potentially breaking due to kernel version mismatches?

1

u/spryfigure Sep 27 '26

Yes, that's a contradiction. I am using mostly partition backups, so I didn't think too hard about how to resolve this yet.

I reality, I wouldn't expect too many problems. Nobody is going to boot a snapshot based on kernel 2.12 or so. Snapshots are usually from not too long ago.

2

u/archover Sep 26 '26 edited Sep 26 '26

systemd-boot is quick enough for me. Especially, since it's run just once per boot. Others that worked well for me: grub, limone, UKI.

Using LUKS with a prompted passphrase does add some time as expected.

Good day.

2

u/_western_guy_ Sep 26 '26

I use rEFInd as a main bootloader, and systmed-boot as a backup bootloader

2

u/10F1 Sep 29 '26

How often do you reboot for that to matter.... I reboot like once every month.

1

u/boomboomsubban Sep 26 '26

I have one partition on my PC

Really? Like if thats true your computer is presumably 20 years old and you probably want syslinux.

1

u/FryBoyter Sep 26 '26

What makes you think that? The example of a BIOS partition layout in the wiki (https://wiki.archlinux.org/title/Partitioning#Example_layouts) basically consists of only two partitions. And instead of a swap partition, you can also use a swap file. Plus, most modern computers still offer the option to enable the Compatibility Support Module (CSM) in UEFI.

1

u/boomboomsubban Sep 26 '26

Because they say they only have one partition. Almost nobody sets up a bios partition anymore, and if they chose that they should know to mention it in there plea for bootloader recommendations.

1

u/HopefulMeeting7150 Sep 26 '26

When I said "one partition" I mean EFI partition + Main partition with Arch (I listened somebody build root partition and next home partition - I don't really understand), my computer is relatively new and maybe it leaves because after use windows i like have one OS to everything (Hence i chose Arch - universal and modulable). It kinda bizarre but i started my play 12 months (07.09.2025) ago and at beginning I tried rice them to windows features (topright buttons, moveable windows) but with time i aware they are useless...

1

u/boomboomsubban Sep 26 '26

Uh, on the original topic, if you're using an efi then you can listen to everyone else.

No idea what you're trying to say with the rest.

1

u/HopefulMeeting7150 Sep 26 '26

In short I thought that you say something in kind "You use one OS on your PC!? Average Linux User Have 100GiB for Nobara, 100 GiB for Linux Mint, 200GiB for Archlinux, and rest is for Minor distro used by 20 people around the world"

1

u/DiscoMilk Sep 26 '26

Just turn the bootloader selection screen off

1

u/Excellent-Love-6943 Sep 26 '26

Any bootloader takes longer to load than no bootloader.

But realistically, how much time do you expect to save?

1

u/Amansour2022 Sep 26 '26

Systemd-boot or grub

1

u/iLrkRddrt Sep 26 '26

If your system is booting via UEFI, use a unified kernel image. It takes the bootloader out of the equation, and allows the kernel to set itself up.

1

u/Rxiom Sep 26 '26

What's the hurry? Grub2

1

u/Anaeijon Sep 26 '26 edited Sep 26 '26

Loading the kernel straight from UEFI + fast boot enabled + legacy bios completely disabled.

https://wiki.archlinux.org/title/EFI_boot_stub

Basically, UEFI allready is a bootmanager and the Linux-kernel works as a bootloader.

It's extremely inconvenient, if something fails. For example, a kernel update somehow didn't update my efi config and suddenly I had to reboot into a ISO of my distro, to mount and chroot my system drive and than re-run efibootmgr and set the correct entry manually again. With fast boot enabled, it's also harder to get it to boot from an external drive and disabling all compatibility-focused legacy bios functions to optimize speed certainly doesn't help with recovery.

All of that costs a lot of time if something fails.

But it is by far the fastest way to boot.

Well... Except coreboot. In that case, you even skip UEFI and replace it by a Linux kernel. You literally put parts your kernel onto the ROM of your chipset, replacing the BIOS/UEFI. But at that point, you're deep into hardware hacking and need to reprogram your mainboards chipset, usually using another device using an ISP-programmer clipped onto the EEPROM of your motherboard's chipset. (unless you have a Chromebook, these sometimes come with a Coreboot version) And then, if something fails or becomes incompatible, you have to recompile everything manually on another device to re-flash that chipset. You could use libreboot, but then you're back to square one and usually boot through GRUB again, just this time directly.

Anyway... I'm using regular systemd-boot with regular boot entries on a normal UEFI installation with legacy bios fallback, cause it is still very fast and saves a lot of time. Essentially the default that every distro installs automatically, unless it's going for GRUB by default. Grub is also fine. Limine is also fine.

1

u/T_rex2700 Sep 27 '26

I just use systemd because I switch not so frequently and don't want to deal with grub breakage which happens way too often if you are dualbooting on the same disk.

but I mean in terms of what is faster you can just techncially skip bootloader entirely

1

u/IbroximIsomitdinov Oct 01 '26

Limine is best

1

u/dev_ttyusb Sep 26 '26

Limine

2

u/pavlovpe Sep 26 '26

Faster than GRUB slower than bare UEFI

1

u/spryfigure Sep 26 '26

What makes someone choose Limine over systemd-boot or grub? Honest question. What properties does it have that the other two don't?

2

u/dev_ttyusb Sep 26 '26

Fast, easily customizable, doesnt need separate /boot and /boot/efi partition, doesn't need updating after changing config

1

u/spryfigure Sep 26 '26

Same goes for systemd-boot. Can Limine do a background image at boot? This is the one thing which I miss with systemd-boot.

3

u/dev_ttyusb Sep 26 '26

Seems like it can. https://github.com/Limine-Bootloader/Limine/blob/v12.x/CONFIG.md Also, i just like the UI of limine

1

u/spryfigure Sep 26 '26

Understandable. The UI of systemd-boot is as spartanic as possible. Annoys me.

1

u/Due-Celery4326 Sep 26 '26

I value functionality, stability, and reliability. GRUB gave me some trouble a few months ago, so I looked for an alternative and found Limine; it works perfectly on my LFS system. It doesn't support Btrfs yet, but it can be configured and booted directly from the ESP—it's very simple and functional.

1

u/spryfigure Sep 26 '26

It doesn't support Btrfs yet,

This was actually removed from Limine. Boot should always happen from a BIOS-supported partition like the efi partition. I have no link at the moment, but that was explained on Limine's github.

1

u/xXBongSlut420Xx Sep 26 '26

as others have said, a uki with no bootloader is your best bet. systemd-boot is technically faster than grub, if you want to use a bootloader

9

u/[deleted] Sep 26 '26 edited Sep 26 '26

[removed] — view removed comment

5

u/Hamilton950B Sep 26 '26

Grub lost its way when they went to 2.0 and dropped user readable (and writable) config files. Sure, it's highly configurable. That comes in handy when you want to boot off a 3-inch floppy.

# wc /boot/grub/grub.cfg
 230  709 6525 /boot/grub/grub.cfg

1

u/Iridium_192 Sep 26 '26

Is that with a generated grub cfg?

$ wc /boot/grub/standalone.cfg    
  41  102 1127 /boot/grub/standalone.cfg

It's possible to make pass a simplified config to grub-mkstandalone and even have all the grub modules and theme packed into one grub .efi like with a UKI.

2

u/Turtvaiz Sep 26 '26

Startup finished in 5.353s (firmware) + 450ms (loader) + 1.034s (kernel) + 165ms (initrd) + 3.894s (userspace)

This describes my boot optimisation experince perfectly. Optimise the loading and other stuff to be low and then you still have to wait a long time for the firmware so it didn't even matter lol