Release Notes for Alpine 3.20.0: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 6: Line 6:


Here are some examples for various situations assuming default setups. Don't blindly copy these examples but verify what's applicable to your system.
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 <code>update-grub</code> command to update the grub configuration:
{{Cmd|# update-grub}}
   
   
==== BIOS ====
==== BIOS ====



Revision as of 11:57, 6 January 2024

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
fwa
The respective firmware architecture for your system