I am going to install Manajaro on a bit old laptop
AFAIK, default installation comes with Grub, is there a way to install with systemd-boot?
Does Grub break when Grub is updated? Do I have to do something if there is a Grub update to avoid unbootable system?
What would be the best way to convert to systemd-boot (in case Grub still requires some manual work if updated)
Not usually, no.
I cant remember it happening… maybe it did some years ago…
Obviously that would be a show-stopping problem.
Yet - manjaro is rolling release and systems continue to run … so that tells you that if there ever was a problem it was recoverable.
Theres really not anything extra to say about grub over any other system-critical package.
If you follow the correct practices/procedures you are highly unlikely to encounter very many problems … if you do then they should be fixable … maybe even by a simple update.
If things like this worry you … then keep backups.
Or … if they really scare you … consider not using a rolling release system at all.
I remember some time ago, if there was an update for Grub, the user has to to some commands to update or… mmm… to be sure it will boot. If the user did not do some commands after a Grub update Grub fails to boot the system!
Did Manjaro overcome this?
What if I want to be safe from such nasty Grub problem?
I am OK with rolling releases in general especially Arch based. I tried a few and have no problem.
Sounds like reinstalling grub to the boot record …
Usually when grub the package updates it doesnt do this.
Users would have to do so on their own … something like this.
And the situation you are talking about is probably this:
Warning: Update/reinstall the boot loader (see #UEFI systems or #BIOS systems) if a new GRUB version changes the syntax of the configuration file: mismatching configuration can result in an unbootable system. GRUB - ArchWiki
Which … as you can see … is not a manjaro-specific ‘problem’.
Its just managing grub - more noticeably required when theres an obvious breaking change.
Which distro have you used with this problem in the past?
If I remember correctly, this happened at the Arch stable branch many months ago.
However, Manjaro’s stable branch and testing branch are not affected by this problem, because Manjaro built its own GRUB package. This is why I never have the problem with GRUB in Manjaro.
AFAIK, mkinitcpio supports a native unified kernel image (UKI) for systemd-boot, no need to install third party program of systemd-boot.
Since no one has mentioned it here; the main problem with grub is when dual-booting.
with Win when a Win update includes an update of the Win bootloader that will overwrite grub.
Solution: boot a Manjaro usb stick, chroot into your Manjaro and reinstall grub.
with another linux distro that has been installed after Manjaro and its grub taking over the boot loader job from Manjaro grub. Manjaro will be shown but will fail to boot.
Solution: boot your Manjaro usb stick, chroot into Manjaro and reinstall grub. That will get Manjaro’s grub back in charge and both distros will boot from it.
I had this problem before, Windows update destroying Grub and for reasons I lost my USB so instead of being a savage going out to buy a new USB I was going to have to wait by buying one online.
Yesterday just happen to restore my system from a bad recent update which broke a cuple of apps and just noticed the option inside Timeshift to restore bootloader. And just like magic, my Grub set prefix=(hd0,gpt6)/boot/grub root=hd0,gpt6 FINALLY stuck… after restoring my bootloader was good as new! Didn’t need a live iso to reinstall Grub. So why is that we need a live distro to fix Grub but it can be fixed using Timeshift and why isn’t this recommended?
Sometimes one doesn’t have a live iso and if one can just fix Grub from the same linux installation why no one knows about this?