News for hackers. Stuff that matters.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by noodlesUK on Wednesday April 01, 2020 @05:49PM (#22753864)
I’m surprised that most people even bother with bootloaders like grub... On all the machines I’ve used recently, the UEFI boot manager works fine, and you can just use a kernel with an EFI stub and initramfs built in. It’s obviously a bit much for most users, but you’d think Linux distros could just package it all up.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by dpbriggs on Wednesday April 01, 2020 @07:02PM (#22754426)
I am fairly sure most people are using whatever bootloader is installed for them during distro install.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by thaumaturgy on Wednesday April 01, 2020 @06:13PM (#22754064)
grub provides a nice interface for adjusting kernel parameters before booting, which is essential for some installs on twitchy hardware. I don't know of a way to do this in the UEFI boot manager.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by KingMachiavelli on Wednesday April 01, 2020 @07:02PM (#22754434)
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by yrro on Thursday April 02, 2020 @05:21AM (#22757383)
If you don't mind squinting at unusably tiny text on a 15 inch laptop with a 4K display.

(Reported as a bug, the response was "your laptop manufacturer needs to fix its firmware". Ugh).

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by Brian_K_White on Thursday April 02, 2020 @07:03AM (#22757790)
Classic Poettering.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by yrro on Thursday April 02, 2020 @07:31AM (#22757946)
To be fair, I just read up on the bug and it was later re-opened and fixed by https://github.com/systemd/systemd/pull/8086; so I'll try sd-boot again some time.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by krferriter on Wednesday April 01, 2020 @06:40PM (#22754246)
I've found it even easier to manage kernel parameters and boot entries in systemd-boot. You can just create another boot entry by making a copy of a text file, and changing the `title` line of the file. Grub is much more complex to manage. systemd-boot entries are very simple text files, so editing kernel parameters is far easier than grub.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by inshadows on Wednesday April 01, 2020 @10:25PM (#22755691)
> systemd-boot entries are very simple text files,

So are GRUB 2 configuration files but for some reason a "framework" was built around it to generate the final configuration file from parts.

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by jaclaz on Thursday April 02, 2020 @07:26AM (#22757920)
I would add "without properly documenting how to use the framework".
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by kelnos on Wednesday April 01, 2020 @06:46PM (#22754284)
What's the recovery situation? Say my machine is unbootable and I need to tweak the kernel commandline or something to get things working again? Can I do that from the systemd-boot menu like I can with grub?
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by Nullabillity on Wednesday April 01, 2020 @07:09PM (#22754504)
Yes, just press E. Just like in GRUB.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by maccam94 on Wednesday April 01, 2020 @06:47PM (#22754298)
You can edit the kernel entry at boot time in grub, which can be useful when you need to troubleshoot a non-booting system.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by fulafel on Thursday April 02, 2020 @01:18AM (#22756432)
You don't even need twitchy hardware. Ubuntu goes into an unescapable X server restart loop if you are out of space on the root partition when booting, and has no other obvious remedy than booting to rescue mode.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by akvadrako on Wednesday April 01, 2020 @05:55PM (#22753925)
I don't see how it's easier or better for the user.

It's not a very nice dual booting UI, like a menu with a timeout. And no way to set passwords on certain items or enter kernel boot parameters.

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by parston_michel on Wednesday April 01, 2020 @06:02PM (#22753976)
>how it's easier or better for the user

It really depends who "the user" is.

It's faster, and accidentally hitting a hotkey for grub or whatever on boot is just one more problem. These are both material advantages, for a certain cohort.

"the user" varies from highly technical people like you or i to low income people with laptops wiped to install ubuntu by foundations that can't afford windows licenses.

And, if I'm dual booting, I'm probably confident enough to configure UEFI to support dual booting.

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by ghostpepper on Wednesday April 01, 2020 @07:08PM (#22754489)
> And, if I'm dual booting, I'm probably confident enough to configure UEFI to support dual booting.

This doesn't really fit with the oft-repeated advice to windows user looking to try out linux that you can start with a dual boot.

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by parston_michel on Wednesday April 01, 2020 @08:14PM (#22754961)
AFAIK, the recommended way to do it now is to use a live usb/cd.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by noodlesUK on Wednesday April 01, 2020 @09:47PM (#22755501)
It has one extremely big advantage: secure boot. It’s an easy and nice thing to set up when it’s all just one EFI executable.
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by yrro on Thursday April 02, 2020 @05:22AM (#22757393)
Is there a way to sign & verify initramfs images yet?
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by dTal on Thursday April 02, 2020 @06:22AM (#22757614)
Do you even need an initramfs image at all?
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by yrro on Thursday April 02, 2020 @07:23AM (#22757902)
How else can I unlock my encrypted disk partitions?
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by akvadrako on Sunday April 05, 2020 @04:35AM (#22784506)
I have not tried it but the dm-mod.create kernel parameter should help:

https://forums.gentoo.org/viewtopic-p-8439822.html?sid=b07b8...

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by throwaway2048 on Wednesday April 01, 2020 @11:29PM (#22755973)
directly booting an ever changing kernel (due to security updates etc) is way more annoying in secure boot terms than a relatively static bootloader
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by johnchristopher on Wednesday April 01, 2020 @07:51PM (#22754799)
I consider myself an advanced user. I used to play with refitsomething loader to boot win7/10 on an older imac, I still have shivers about the dreaded LI... of my youth so I tend to stick to whatever Ubuntu installs and then make sure I can boot stea... windows easily.

Anything else is madness I don't need nor want to fiddle with.

Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by exikyut on Thursday April 02, 2020 @12:05AM (#22756096)
(For fellow dense people: LILO; Steam)
Re:Replace GRUB2 with systemd-boot on Ubuntu 18.04 (2018) by TomJansen on Wednesday April 01, 2020 @06:06PM (#22754005)
I do this on my laptop. Press F9 while booting and just select Windows or Linux, just like you would boot from an USB stick. No more chances of something breaking (on that front atleast)