Skip to content

Commit 78e87ed

Browse files
authored
Merge pull request #476 from ddemaio/master
fix divergence
2 parents d9d5730 + 1b7a0ba commit 78e87ed

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

_posts/2025/2025-11-13-tw-grub2-bls.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ date: 2025-11-13 17:00:00+01:00
55
layout: post
66
image: /wp-content/uploads/2025/05/tw.png
77
license: CC-BY-SA-3.0
8-
title:GRUB2-BLS in openSUSE Tumbleweed is now the default
8+
title: GRUB2-BLS in openSUSE Tumbleweed is now the default
99
categories:
1010
- Announcements
1111
- openSUSE
@@ -24,30 +24,30 @@ tags:
2424

2525
[openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/) recently changed the default boot loader from GRUB2 to GRUB2-BLS when installed via YaST.
2626

27-
This follows the trending started by MicroOS of adopting boot loaders that are compatible with the [boot loader specification](https://uapi-group.org/specifications/specs/boot_loader_specification/). [MicroOS](https://get.opensuse.org/microos/) is using `systemd-boot`, a very small and fast boot loader from the `systemd` project.
27+
This follows the trend started by MicroOS of adopting boot loaders that are compatible with the [boot loader specification](https://uapi-group.org/specifications/specs/boot_loader_specification/). [MicroOS](https://get.opensuse.org/microos/) is using `systemd-boot`, a very small and fast boot loader from the `systemd` project.
2828

29-
One of the reasons of this change is to simplify the integration of new features, like a full disk encryption based on the `systemd` tools, that will make use of the TPM2 or FIDO2 tokens if they are available.
29+
One of the reasons for this change is to simplify the integration of new features, like full disk encryption based on `systemd` tools, that will make use of TPM2 or FIDO2 tokens if they are available.
30+
>>>>>>> master
3031
3132

3233
## What is GRUB2-BLS
3334

3435
GRUB2-BLS is just GRUB2 but with some patches on top ported from the Fedora project, that includes some compatibility for the boot loader specification for Type #1 boot entries. Those are small text files stored in `/boot/efi/loader/entries` that the boot loader reads to present the initial menu.
3536

36-
Each file contains a reference to the kernel, the `initrd` and the kernel command line that will be used to boot the system, and can be edited directly by the user or managed by tools like `bootctl` and `sdbootutil`.
37+
Each file contains a reference to the kernel, the `initrd`, and the kernel command line that will be used to boot the system, and can be edited directly by the user or managed by tools like `bootctl` and `sdbootutil`.
3738

38-
The next version of GRUB2 (2.14) those patches will be included as part of the project itself, and the upgrade process will be transparent for the final user.
39+
In the next version of GRUB2 (2.14) those patches will be included as part of the project itself, and the upgrade process will be transparent for the final user.
3940

40-
Should be noted that the way that openSUSE deploy GRUB2-BLS is different from the classical GRUB2. GRUB2-BLS is deployed as a single EFI binary installed (copied) in `/boot/efi/EFI/opensuse` that will have embedded all the resources (like the modules, configuration file, fonts, themes and graphics) that previously where placed in `/boot/grub2`.
41+
It should be noted that the way openSUSE deploys GRUB2-BLS is different from the classical GRUB2. GRUB2-BLS is deployed as a single EFI binary installed (copied) in `/boot/efi/EFI/opensuse` that will have embedded all the resources (like the modules, configuration file, fonts, themes and graphics) that previously were placed in `/boot/grub2`.
4142

4243

4344
## Installation
4445

45-
The good news is that with the last version of YaST the process is automatic. The user just needs to follow the default steps and the system will be based on GRUB2-BLS at the end.
46+
The good news is that with the latest version of YaST the process is automatic. The user just needs to follow the default steps and the system will be based on GRUB2-BLS at the end.
4647

47-
The installed will propose first a large ESP partition of about 1GB. This is required because now all the kernel and `initrd`s will be placed in the FAT32 ESP partition, in `/boot/efi/opensuse-tumbleweed`.
48-
49-
Of course the user can select during the installation a different boot loader, like the classical `GRUB2` or `systemd-boot`. This can be done in the "Installation Settings" screen presented at the end of the installation proposal. Just select the "Booting" header link and choose your boot loader from there.
48+
The installer will first propose a large ESP partition of about 1GB. This is required because all the kernel and `initrd`s will now be placed in the FAT32 ESP partition, in `/boot/efi/opensuse-tumbleweed`.
5049

50+
Of course the user can select a different boot loader during the installation, like the classical `GRUB2` or `systemd-boot`. This can be done in the "Installation Settings" screen presented at the end of the installation proposal. Just select the "Booting" header link and choose your boot loader from there.
5151

5252
## Full disk encryption
5353

@@ -58,10 +58,12 @@ From there you can set a LUKS2 password and, optionally, enroll a security devic
5858

5959
## Usage
6060

61-
With GRUB2-BLS we will not have anymore the grub2 tools, like `grub2-mkconfig` or `grub2-install`. Most of them are not required anymore. The boot entries are generated dynamically by the boot loader, so there is no need anymore of generating GRUB2 configuration files, and the installation is just copying the new EFI file into the correct place.
61+
With GRUB2-BLS we will no longer have grub2 tools like `grub2-mkconfig` or `grub2-install`. Most of them are not required anymore. Boot entries are generated dynamically by the boot loader, so there is no longer any need to generate GRUB2 configuration files, and installation is just copying the new EFI file into the correct place.
6262

63-
The upgrade process is also done automatically calling `sdbootutil update` by the snapper plugins or the SUSE module tools, so if btrfs is used all the management will be done transparently by this infrastructure, as was done in the traditional boot loader.
63+
The upgrade process is also done by automatically calling `sdbootutil update` from the snapper plugins or the SUSE module tools, so if btrfs is used all the management will be done transparently by this infrastructure, as was done in the traditional boot loader.
6464

6565
Updating the kernel command line can be now be done by editing the boot loader, or the `/etc/kernel/cmdline` and calling `sdbootutil update-all-entries` to propagate the change into the boot entries of the current snapshot.
6666

6767
To manage the FDE configuration you can learn more in the [openSUSE wiki](https://en.opensuse.org/Portal:MicroOS/FDE).
68+
69+
<meta name="openSUSE, Open Source, development, Linux, operating systems, Tumbleweed, grub2, sdbootutil, kernel, fde, full disk encryption, systemd" content="HTML,CSS,XML,JavaScript">

0 commit comments

Comments
 (0)