Release Notes for Alpine 3.20.0: Difference between revisions
(Created page with "== 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. ==== BIOS ==== For BIOS systems (x86 or x86_64) {{Cmd|# grub-install --boot-directory{{=}}/boot --target{{=}}i386-pc <var>disk</va...") |
No edit summary |
||
Line 11: | Line 11: | ||
For BIOS systems (x86 or x86_64) | For BIOS systems (x86 or x86_64) | ||
{{Cmd|# grub-install --boot-directory{{=}}/boot --target{{=}}i386-pc <var>disk</var>}} | {{Cmd|# grub-install --boot-directory{{=}}/boot --target{{=}}i386-pc <var>$disk</var>}} | ||
; disk : The block device grub has been installed to. | ; disk : The block device grub has been installed to. | ||
Line 17: | Line 17: | ||
==== EFI ==== | ==== EFI ==== | ||
{{Cmd|# install --target{{=}}<var>target</var> --efi-directory{{=}}"<var>efi_directory</var>" --bootloader-id{{=}}alpine --boot-directory{{=}}"/boot --no-nvram}} | {{Cmd| | ||
# grub-install --target{{=}}<var>$target</var> --efi-directory{{=}}"<var>$efi_directory</var>" \ | |||
--bootloader-id{{=}}alpine --boot-directory{{=}}"/boot --no-nvram | |||
# install -D <var>$efi_directory</var>/EFI/alpine/grub<var>$fwa</var>.efi <var>$efi_directory</var>/EFI/boot/boot<var>$fwa</var>.efi | |||
}} | |||
; target : The relevant [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in?ref%20type=heads target] for your system | ; target : The relevant [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in?ref%20type=heads target] for your system | ||
; efi_directory : Either {{Path|/boot/efi}} or {{Path|/boot}} | ; efi_directory : Either {{Path|/boot/efi}} or {{Path|/boot}} | ||
; fwa : The respective [https://gitlab.alpinelinux.org/alpine/alpine-conf/-/blob/master/setup-disk.in?ref%20type=heads firmware architecture] for your system |
Revision as of 23:54, 5 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.
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