Release Notes for Alpine 3.20.0

From Alpine Linux
Revision as of 10:26, 7 January 2024 by Ikke (talk | contribs) (Remove stray " (thanks shinobi5747485))

Base System

grub 2.12

When upgrading existing installations using grub, make sure to update the installed bootloader before rebooting, otherwise your machine might not boot.

Here are some examples for various situations assuming default setups. Don't blindly copy these examples but verify what's applicable to your system.

Afterwards, run the update-grub command to update the grub configuration:

# update-grub


BIOS

For BIOS systems (x86 or x86_64)

# grub-install --boot-directory=/boot --target=i386-pc $disk

disk
The block device grub has been installed to.

EFI

# grub-install --target=$target --efi-directory=$efi_directory \ --bootloader-id=alpine --boot-directory=/boot --no-nvram # install -D $efi_directory/EFI/alpine/grub$fwa.efi $efi_directory/EFI/boot/boot$fwa.efi

target
The relevant target for your system
efi_directory
Either /boot/efi or /boot. Run awk '$2 ~ /boot/ && $3 ~ /fat|msdos/ { print $2 }' /proc/mounts to confirm.
fwa
The respective firmware architecture for your system