<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vegas</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vegas"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Vegas"/>
	<updated>2026-05-05T16:56:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Bootloaders&amp;diff=30904</id>
		<title>Bootloaders</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Bootloaders&amp;diff=30904"/>
		<updated>2025-09-13T12:47:18Z</updated>

		<summary type="html">&lt;p&gt;Vegas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;bootloader&#039;&#039; is a computer program that is responsible for booting a computer. In the case where it also provides an interactive menu with multiple boot choices, then it&#039;s often called a &#039;&#039;boot manager&#039;&#039;. This page shows the basic steps that you need to perform if, for any reason, you want to switch bootloaders or to apply some manual configuration.&lt;br /&gt;
&lt;br /&gt;
The following bootloaders are available in Alpine Linux:-&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#Syslinux|Syslinux]]&amp;lt;/code&amp;gt; is the default lightweight bootloader used in Alpine Linux.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#rEFInd|rEFInd]]&amp;lt;/code&amp;gt; is an easy-to-use &#039;&#039;EFI&#039;&#039; boot menu that allows booting different operating systems.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#GRUB|GRUB]]&amp;lt;/code&amp;gt; is a standard Linux bootloader.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#EFI_Boot_Stub|EFI Boot Stub]]&amp;lt;/code&amp;gt; allows for booting Linux directly from a motherboard supporting &#039;&#039;UEFI&#039;&#039; or from another bootloader.&amp;lt;br&amp;gt;&lt;br /&gt;
* [[UEFI Secure Boot]] uses {{pkg|systemd-efistub}} or {{pkg|stubbyboot-efistub}}.&lt;br /&gt;
&lt;br /&gt;
A [[#Using a UKI|Unified Kernel Image (UKI)]] is additionally supported, available  for UEFI only. It is a UEFI executable that can be useful in [https://uapi-group.org/specifications/specs/unified_kernel_image/ certain use cases], including secure boot, clouds and containers.&lt;br /&gt;
&lt;br /&gt;
== Syslinux ==&lt;br /&gt;
&lt;br /&gt;
If you want to switch from another bootloader back to &#039;&#039;Syslinux&#039;&#039;, or if for some reason you want to install Syslinux manually, then the following steps are required.&lt;br /&gt;
&lt;br /&gt;
Install the {{pkg|syslinux}} package:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add syslinux}}&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using GPT partitions, then install the &#039;&#039;GPT MBR&#039;&#039; onto the drive that you want to install the bootloader on (in this case, {{path|/dev/sda}}):&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=/dev/sda&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Or, if you&#039;re using DOS partitions, then install the &#039;&#039;DOS MBR&#039;&#039; instead:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!-- See also: http://www.syslinux.org/wiki/index.php?title=Mbr --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the required Syslinux binaries. Despite being called &amp;lt;code&amp;gt;extlinux&amp;lt;/code&amp;gt;, Syslinux supports booting from FAT12/16/32, NTFS, ext2/3/4, [[Btrfs|btrfs]], XFS and UFS/FFS filesystems.&lt;br /&gt;
&lt;br /&gt;
{{cmd|# extlinux --install /boot}}&lt;br /&gt;
&lt;br /&gt;
The configuration file is located in {{path|/boot/extlinux.conf}}. &lt;br /&gt;
&lt;br /&gt;
Alpine Linux ships with a script, &amp;lt;code&amp;gt;update-extlinux&amp;lt;/code&amp;gt;, that automatically (re)generates this file, for example, on updates to Syslinux. The settings for this script can be found in {{path|/etc/update-extlinux.conf}}, including the option to disable automatic overwriting of {{path|/boot/extlinux.conf}}. &lt;br /&gt;
&lt;br /&gt;
You can also place additional menu entries in the {{path|/etc/update-extlinux.d/}} directory e.g. for dual booting.&lt;br /&gt;
&lt;br /&gt;
=== Using EFI with syslinux ===&lt;br /&gt;
&lt;br /&gt;
The Alpine Linux installer automatically uses [[#GRUB|GRUB]] if EFI mode is detected. The section below is specifically about using EFI with Syslinux:&lt;br /&gt;
&lt;br /&gt;
Assuming that {{path|/mnt}} is a FAT32 partition of type EF00 and that {{path|/boot}} belongs to the rootfs created after running &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# mkdir -p /mnt/EFI/syslinux&lt;br /&gt;
# cp /usr/share/syslinux/efi64/* /mnt/EFI/syslinux/&lt;br /&gt;
# cp /boot/extlinux.conf /mnt/EFI/syslinux/syslinux.cfg&lt;br /&gt;
# cp /boot/vmlinuz* /mnt/EFI/syslinux/&lt;br /&gt;
# cp /boot/initramfs* /mnt/EFI/syslinux/&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You may need to modify {{path|/mnt/EFI/syslinux/syslinux.cfg}} to change the paths to absolute paths (just add a / in front of the vmlinuz/initramfs entries), or copy the files to {{path|/mnt/EFI/syslinux}} instead (XXX: untested).&lt;br /&gt;
&lt;br /&gt;
In the end, the {{path|/mnt/EFI/syslinux/syslinux.cfg}} file should look like this:&lt;br /&gt;
&lt;br /&gt;
{{cat|/mnt/EFI/syslinux/syslinux.cfg|&amp;lt;nowiki&amp;gt;...&lt;br /&gt;
DEFAULT menu.c32&lt;br /&gt;
PROMPT 0&lt;br /&gt;
MENU TITLE Alpine/Linux Boot Menu&lt;br /&gt;
MENU HIDDEN&lt;br /&gt;
MENU AUTOBOOT Alpine will be booted automatically in # seconds&lt;br /&gt;
TIMEOUT 10&lt;br /&gt;
LABEL lts&lt;br /&gt;
  MENU DEFAULT&lt;br /&gt;
  MENU LABEL Linux lts&lt;br /&gt;
  LINUX /vmlinuz-lts&lt;br /&gt;
  INITRD /initrd-lts&lt;br /&gt;
  APPEND root=/dev/sda3 modules=sd-load,usb-storage,ext4 quiet&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Finally, add &amp;lt;code&amp;gt;syslinux&amp;lt;/code&amp;gt; to the EFI boot menu.  Assuming that {{path|/dev/sda}} is your hard drive —&#039;&#039;&#039;&#039;&#039;be careful to check first what is its path on your device and to adjust accordingly&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# apk add efibootmgr&lt;br /&gt;
# efibootmgr -c -d /dev/sda -p 1 -l \\EFI\\syslinux\\syslinux.efi -L &amp;quot;ALPINE-SYSLINUX&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You can now verify that the boot entry has been added:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;efibootmgr&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BootCurrent: 0001&lt;br /&gt;
Timeout: 0 seconds&lt;br /&gt;
BootOrder: 0001,0000,0002,...&lt;br /&gt;
Boot001* ALPINE-SYSLINUX HD(1,GPT,xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)/FILE(\EFI\syslinux\syslinux.efi)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== rEFInd ==&lt;br /&gt;
{{Main|rEFInd}}&lt;br /&gt;
&lt;br /&gt;
[[rEFInd]] provides a graphical boot menu for [[UEFI]] systems.&lt;br /&gt;
&lt;br /&gt;
== GRUB ==&lt;br /&gt;
&lt;br /&gt;
To install GRUB in BIOS mode, (optionally) remove the Syslinux package and install the required GRUB packages:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# apk del syslinux&lt;br /&gt;
# apk add grub grub-bios&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
For EFI, install GRUB&#039;s EFI package instead. Note that {{path|/boot}} has to be an EFI-compatible filesystem, such as FAT32.&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add grub-efi efibootmgr}}&lt;br /&gt;
&lt;br /&gt;
Next, install the MBR and GRUB binaries to disk for BIOS mode:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# grub-install /dev/vda}}&lt;br /&gt;
&lt;br /&gt;
For EFI mode:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# grub-install --target=x86_64-efi --efi-directory=/boot&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Then, add this line to {{path|/etc/default/grub}}:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/default/grub|&amp;lt;nowiki&amp;gt;# GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet rootfstype=ext4 modules=sd-mod,usb-storage,ext4&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
GRUB ships with an automatic configuration generator, including some automatic detection of other operating systems installed on the device:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# grub-mkconfig -o /boot/grub/grub.cfg}}&lt;br /&gt;
&lt;br /&gt;
This script can be configured via the {{path|/etc/default/grub}} file. &lt;br /&gt;
&lt;br /&gt;
If the font in the GRUB boot screen appears too small, then [[Fonts#Changing_GRUB_font_and_font_size|change the GRUB font]].&lt;br /&gt;
&lt;br /&gt;
Consult [https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html gnu.org&#039;s online manual] for a list of available &amp;lt;code&amp;gt;grub-mkconfig&amp;lt;/code&amp;gt; configuration options.&lt;br /&gt;
&lt;br /&gt;
== EFI Boot Stub ==&lt;br /&gt;
&lt;br /&gt;
To boot directly from your motherboard&#039;s UEFI boot menu, a boot entry needs to be created either with a UEFI shell or with &#039;&#039;efibootmgr&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== efibootmgr ===&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|efibootmgr}}:&lt;br /&gt;
{{cmd|# apk add efibootmgr}}&lt;br /&gt;
&lt;br /&gt;
Create a boot entry. It is recommended to do this in a script, as efibootmgr does not allow for editing entries.&lt;br /&gt;
&lt;br /&gt;
{{cat|add-bootentry|&amp;lt;nowiki&amp;gt;#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
params=&amp;quot;root=/dev/sdXZ rootfstype=ext4 rw \&lt;br /&gt;
  initrd=\intel-ucode.img \&lt;br /&gt;
  initrd=\initramfs-lts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
efibootmgr --create --label &amp;quot;Alpine Linux&amp;quot; \&lt;br /&gt;
  --disk /dev/sdX --part Y \&lt;br /&gt;
  --loader /vmlinuz-lts \&lt;br /&gt;
  --unicode &amp;quot;${params}&amp;quot; \&lt;br /&gt;
  --verbose&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Where {{path|/dev/sdXY}} contains the EFI partition and {{path|/dev/sdXZ}} contains the root partition. If you are using {{Pkg|linux-edge}}, then replace &amp;lt;code&amp;gt;lts&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;edge&amp;lt;/code&amp;gt; in the script.&lt;br /&gt;
&lt;br /&gt;
{{Tip|If you&#039;re modifying EFI records from a running system (e. g. migrating from GRUB), you can populate {{ic|$params}} from {{ic|/proc/cmdline}}. Make sure to append {{ic|initrd}} param if it&#039;s missing since GRUB does not add it to the command line.}}&lt;br /&gt;
&lt;br /&gt;
{{Note| The kernel contains the [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/init/do_mounts.c#n254 exhaustive list] of ways to specify the block device. For a more robust boot entry, it is recommended to use a persistent name such as the PARTUUID.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Optionally, set the newly-created entry as the default:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# efibootmgr -n XXXX}}&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;XXXX&amp;lt;/code&amp;gt; is the boot number of the new entry.&lt;br /&gt;
&lt;br /&gt;
{{Note| The loader and initrd file arguments are relative to the EFI partition. In a default installation, Alpine Linux places these files in {{path|/boot/}}, while EFI is mounted to {{path|/boot/efi/}}. You can either update &amp;lt;code&amp;gt;fstab&amp;lt;/code&amp;gt; to mount EFI at {{path|/boot/}}, or manually copy them to {{path|/boot/efi/}}.                                                                                           }}&lt;br /&gt;
&lt;br /&gt;
== Using a UKI  ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://github.com/uapi-group/specifications/blob/main/specs/unified_kernel_image.md#unified-kernel-image-uki Unified Kernel Image]&#039;&#039;&#039; (UKI) is supported in UEFI only. It is possible to boot directly into a UKI. A UKI is a single file that contains the initfs, kernel and cmdline. &lt;br /&gt;
&lt;br /&gt;
The [[UEFI Secure Boot]] page contains the instructions for setting up an a UKI.  While this is typically done in order to &#039;&#039;SecureBoot&#039;&#039;, it is perfectly feasible to skip enrolling the custom keys and to leave SecureBoot off. &lt;br /&gt;
&lt;br /&gt;
Additionally, it is possible to install the UKI in the default fallback path used by most UEFI implementations. By installing the UKI into this path, the system will automatically boot into it if no other entries are defined. This can be automated as part of the kernel hook by adding the following to {{path|/etc/kernel-hooks.d/secureboot.conf}} :&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/kernel-hooks.d/secureboot.conf|&amp;lt;nowiki&amp;gt;# For the edge kernel, install the UKI into the default UEFI path.&lt;br /&gt;
if [ &amp;quot;$1&amp;quot; == &amp;quot;edge&amp;quot; ]; then&lt;br /&gt;
  output_dir=&amp;quot;/efi/EFI/Boot/&amp;quot;&lt;br /&gt;
  output_name=&amp;quot;bootx64.efi&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Note|  {{path|bootx64.efi}} is only correct for &amp;lt;code&amp;gt;x86_64&amp;lt;/code&amp;gt; systems. For other architectures, the exact name will vary.}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
* [https://wiki.gentoo.org/wiki/Bootloader Gentoo Wiki]&lt;br /&gt;
* [https://wiki.archlinux.org/title/Arch_boot_process#Boot_loader Archwiki]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/Category:Bootloaders PostmarketOS Wiki]&lt;br /&gt;
* [https://www.denx.de/wiki/U-Boot/ReleaseCycle U-Boot Release Cycle]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Booting]]&lt;/div&gt;</summary>
		<author><name>Vegas</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Bootloaders&amp;diff=30903</id>
		<title>Bootloaders</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Bootloaders&amp;diff=30903"/>
		<updated>2025-09-13T12:46:32Z</updated>

		<summary type="html">&lt;p&gt;Vegas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;bootloader&#039;&#039; is a computer program that is responsible for booting a computer. In the case where it also provides an interactive menu with multiple boot choices, then it&#039;s often called a &#039;&#039;boot manager&#039;&#039;. This page shows the basic steps that you need to perform if, for any reason, you want to switch bootloaders or to apply some manual configuration.&lt;br /&gt;
&lt;br /&gt;
The following bootloaders are available in Alpine Linux:-&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#Syslinux|Syslinux]]&amp;lt;/code&amp;gt; is the default lightweight bootloader used in Alpine Linux.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#rEFInd|rEFInd]]&amp;lt;/code&amp;gt; is an easy-to-use &#039;&#039;EFI&#039;&#039; boot menu that allows booting different operating systems.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#GRUB|GRUB]]&amp;lt;/code&amp;gt; is a standard Linux bootloader.&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;[[#EFI_Boot_Stub|EFI Boot Stub]]&amp;lt;/code&amp;gt; allows for booting Linux directly from a motherboard supporting &#039;&#039;UEFI&#039;&#039; or from another bootloader.&amp;lt;br&amp;gt;&lt;br /&gt;
* [[UEFI Secure Boot]] uses {{pkg|systemd-efistub}} or {{pkg|stubbyboot-efistub}}.&lt;br /&gt;
&lt;br /&gt;
A [[#Using a UKI|Unified Kernel Image (UKI)]] is additionally supported, available  for UEFI only. It is a UEFI executable that can be useful in [https://uapi-group.org/specifications/specs/unified_kernel_image/ certain use cases], including secure boot, clouds and containers.&lt;br /&gt;
&lt;br /&gt;
== Syslinux ==&lt;br /&gt;
&lt;br /&gt;
If you want to switch from another bootloader back to &#039;&#039;Syslinux&#039;&#039;, or if for some reason you want to install Syslinux manually, then the following steps are required.&lt;br /&gt;
&lt;br /&gt;
Install the {{pkg|syslinux}} package:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add syslinux}}&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using GPT partitions, then install the &#039;&#039;GPT MBR&#039;&#039; onto the drive that you want to install the bootloader on (in this case, {{path|/dev/sda}}):&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/gptmbr.bin of=/dev/sda&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Or, if you&#039;re using DOS partitions, then install the &#039;&#039;DOS MBR&#039;&#039; instead:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# dd bs=440 count=1 conv=notrunc if=/usr/share/syslinux/mbr.bin of=/dev/sda&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;!-- See also: http://www.syslinux.org/wiki/index.php?title=Mbr --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, install the required Syslinux binaries. Despite being called &amp;lt;code&amp;gt;extlinux&amp;lt;/code&amp;gt;, Syslinux supports booting from FAT12/16/32, NTFS, ext2/3/4, [[Btrfs|btrfs]], XFS and UFS/FFS filesystems.&lt;br /&gt;
&lt;br /&gt;
{{cmd|# extlinux --install /boot}}&lt;br /&gt;
&lt;br /&gt;
The configuration file is located in {{path|/boot/extlinux.conf}}. &lt;br /&gt;
&lt;br /&gt;
Alpine Linux ships with a script, &amp;lt;code&amp;gt;update-extlinux&amp;lt;/code&amp;gt;, that automatically (re)generates this file, for example, on updates to Syslinux. The settings for this script can be found in {{path|/etc/update-extlinux.conf}}, including the option to disable automatic overwriting of {{path|/boot/extlinux.conf}}. &lt;br /&gt;
&lt;br /&gt;
You can also place additional menu entries in the {{path|/etc/update-extlinux.d/}} directory e.g. for dual booting.&lt;br /&gt;
&lt;br /&gt;
=== Using EFI with syslinux ===&lt;br /&gt;
&lt;br /&gt;
The Alpine Linux installer automatically uses [[#GRUB|GRUB]] if EFI mode is detected. The section below is specifically about using EFI with Syslinux:&lt;br /&gt;
&lt;br /&gt;
Assuming that {{path|/mnt}} is a FAT32 partition of type EF00 and that {{path|/boot}} belongs to the rootfs created after running &amp;lt;code&amp;gt;setup-disk&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# mkdir -p /mnt/EFI/syslinux&lt;br /&gt;
# cp /usr/share/syslinux/efi64/* /mnt/EFI/syslinux/&lt;br /&gt;
# cp /boot/extlinux.conf /mnt/EFI/syslinux/syslinux.cfg&lt;br /&gt;
# cp /boot/vmlinuz* /mnt/EFI/syslinux/&lt;br /&gt;
# cp /boot/initramfs* /mnt/EFI/syslinux/&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You may need to modify {{path|/mnt/EFI/syslinux/syslinux.cfg}} to change the paths to absolute paths (just add a / in front of the vmlinuz/initramfs entries), or copy the files to {{path|/mnt/EFI/syslinux}} instead (XXX: untested).&lt;br /&gt;
&lt;br /&gt;
In the end, the {{path|/mnt/EFI/syslinux/syslinux.cfg}} file should look like this:&lt;br /&gt;
&lt;br /&gt;
{{cat|/mnt/EFI/syslinux/syslinux.cfg|&amp;lt;nowiki&amp;gt;...&lt;br /&gt;
DEFAULT menu.c32&lt;br /&gt;
PROMPT 0&lt;br /&gt;
MENU TITLE Alpine/Linux Boot Menu&lt;br /&gt;
MENU HIDDEN&lt;br /&gt;
MENU AUTOBOOT Alpine will be booted automatically in # seconds&lt;br /&gt;
TIMEOUT 10&lt;br /&gt;
LABEL lts&lt;br /&gt;
  MENU DEFAULT&lt;br /&gt;
  MENU LABEL Linux lts&lt;br /&gt;
  LINUX /vmlinuz-lts&lt;br /&gt;
  INITRD /initrd-lts&lt;br /&gt;
  APPEND root=/dev/sda3 modules=sd-load,usb-storage,ext4 quiet&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Finally, add &amp;lt;code&amp;gt;syslinux&amp;lt;/code&amp;gt; to the EFI boot menu.  Assuming that {{path|/dev/sda}} is your hard drive —&#039;&#039;&#039;&#039;&#039;be careful to check first what is its path on your device and to adjust accordingly&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# apk add efibootmgr&lt;br /&gt;
# efibootmgr -c -d /dev/sda -p 1 -l \\EFI\\syslinux\\syslinux.efi -L &amp;quot;ALPINE-SYSLINUX&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
You can now verify that the boot entry has been added:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;efibootmgr&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BootCurrent: 0001&lt;br /&gt;
Timeout: 0 seconds&lt;br /&gt;
BootOrder: 0001,0000,0002,...&lt;br /&gt;
Boot001* ALPINE-SYSLINUX HD(1,GPT,xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)/FILE(\EFI\syslinux\syslinux.efi)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== rEFInd ==&lt;br /&gt;
{{Main|rEFInd}}&lt;br /&gt;
&lt;br /&gt;
[[rEFInd]] provides a graphical boot menu for [[UEFI]] systems.&lt;br /&gt;
&lt;br /&gt;
== GRUB ==&lt;br /&gt;
&lt;br /&gt;
To install GRUB in BIOS mode, (optionally) remove the Syslinux package and install the required GRUB packages:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# apk del syslinux&lt;br /&gt;
# apk add grub grub-bios&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
For EFI, install GRUB&#039;s EFI package instead. Note that {{path|/boot}} has to be an EFI-compatible filesystem, such as FAT32.&lt;br /&gt;
&lt;br /&gt;
{{cmd|# apk add grub-efi efibootmgr}}&lt;br /&gt;
&lt;br /&gt;
Next, install the MBR and GRUB binaries to disk for BIOS mode:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# grub-install /dev/vda}}&lt;br /&gt;
&lt;br /&gt;
For EFI mode:&lt;br /&gt;
&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# grub-install --target=x86_64-efi --efi-directory=/boot&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Then, add this line to {{path|/etc/default/grub}}:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/default/grub|&amp;lt;nowiki&amp;gt;# GRUB_CMDLINE_LINUX_DEFAULT=&amp;quot;quiet rootfstype=ext4 modules=sd-mod,usb-storage,ext4&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
GRUB ships with an automatic configuration generator, including some automatic detection of other operating systems installed on the device:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# grub-mkconfig -o /boot/grub/grub.cfg}}&lt;br /&gt;
&lt;br /&gt;
This script can be configured via the {{path|/etc/default/grub}} file. &lt;br /&gt;
&lt;br /&gt;
If the font in the GRUB boot screen appears too small, then [[Fonts#Changing_GRUB_font_and_font_size|change the GRUB font]].&lt;br /&gt;
&lt;br /&gt;
Consult [https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html gnu.org&#039;s online manual] for a list of available &amp;lt;code&amp;gt;grub-mkconfig&amp;lt;/code&amp;gt; configuration options.&lt;br /&gt;
&lt;br /&gt;
== EFI Boot Stub ==&lt;br /&gt;
&lt;br /&gt;
To boot directly from your motherboard&#039;s UEFI boot menu, a boot entry needs to be created either with a UEFI shell or with &#039;&#039;efibootmgr&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== efibootmgr ===&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|efibootmgr}}:&lt;br /&gt;
{{cmd|# apk add efibootmgr}}&lt;br /&gt;
&lt;br /&gt;
Create a boot entry. It is recommended to do this in a script, as efibootmgr does not allow for editing entries.&lt;br /&gt;
&lt;br /&gt;
{{cat|add-bootentry|&amp;lt;nowiki&amp;gt;#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
params=&amp;quot;root=/dev/sdXZ rootfstype=ext4 rw \&lt;br /&gt;
  initrd=\intel-ucode.img \&lt;br /&gt;
  initrd=\initramfs-lts&amp;quot;&lt;br /&gt;
&lt;br /&gt;
efibootmgr --create --label &amp;quot;Alpine Linux&amp;quot; \&lt;br /&gt;
  --disk /dev/sdX --part Y \&lt;br /&gt;
  --loader /vmlinuz-lts \&lt;br /&gt;
  --unicode &amp;quot;${params}&amp;quot; \&lt;br /&gt;
  --verbose&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Where {{path|/dev/sdXY}} contains the EFI partition and {{path|/dev/sdXZ}} contains the root partition. If you are using {{Pkg|linux-edge}}, then replace &amp;lt;code&amp;gt;lts&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;edge&amp;lt;/code&amp;gt; in the script.&lt;br /&gt;
&lt;br /&gt;
{{Tip|If you&#039;re modifying EFI records from a running system (e. g. migrating from GRUB), you can use {{ic|cat /proc/cmdline}} to get current kernel params. Make sure to add {{ic|initrd}} param if it&#039;s missing since GRUB does not add it to the command line.}}&lt;br /&gt;
&lt;br /&gt;
{{Note| The kernel contains the [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/init/do_mounts.c#n254 exhaustive list] of ways to specify the block device. For a more robust boot entry, it is recommended to use a persistent name such as the PARTUUID.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Optionally, set the newly-created entry as the default:&lt;br /&gt;
&lt;br /&gt;
{{cmd|# efibootmgr -n XXXX}}&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;XXXX&amp;lt;/code&amp;gt; is the boot number of the new entry.&lt;br /&gt;
&lt;br /&gt;
{{Note| The loader and initrd file arguments are relative to the EFI partition. In a default installation, Alpine Linux places these files in {{path|/boot/}}, while EFI is mounted to {{path|/boot/efi/}}. You can either update &amp;lt;code&amp;gt;fstab&amp;lt;/code&amp;gt; to mount EFI at {{path|/boot/}}, or manually copy them to {{path|/boot/efi/}}.                                                                                           }}&lt;br /&gt;
&lt;br /&gt;
== Using a UKI  ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[https://github.com/uapi-group/specifications/blob/main/specs/unified_kernel_image.md#unified-kernel-image-uki Unified Kernel Image]&#039;&#039;&#039; (UKI) is supported in UEFI only. It is possible to boot directly into a UKI. A UKI is a single file that contains the initfs, kernel and cmdline. &lt;br /&gt;
&lt;br /&gt;
The [[UEFI Secure Boot]] page contains the instructions for setting up an a UKI.  While this is typically done in order to &#039;&#039;SecureBoot&#039;&#039;, it is perfectly feasible to skip enrolling the custom keys and to leave SecureBoot off. &lt;br /&gt;
&lt;br /&gt;
Additionally, it is possible to install the UKI in the default fallback path used by most UEFI implementations. By installing the UKI into this path, the system will automatically boot into it if no other entries are defined. This can be automated as part of the kernel hook by adding the following to {{path|/etc/kernel-hooks.d/secureboot.conf}} :&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/kernel-hooks.d/secureboot.conf|&amp;lt;nowiki&amp;gt;# For the edge kernel, install the UKI into the default UEFI path.&lt;br /&gt;
if [ &amp;quot;$1&amp;quot; == &amp;quot;edge&amp;quot; ]; then&lt;br /&gt;
  output_dir=&amp;quot;/efi/EFI/Boot/&amp;quot;&lt;br /&gt;
  output_name=&amp;quot;bootx64.efi&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{Note|  {{path|bootx64.efi}} is only correct for &amp;lt;code&amp;gt;x86_64&amp;lt;/code&amp;gt; systems. For other architectures, the exact name will vary.}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Enable Serial Console on Boot]]&lt;br /&gt;
* [https://wiki.gentoo.org/wiki/Bootloader Gentoo Wiki]&lt;br /&gt;
* [https://wiki.archlinux.org/title/Arch_boot_process#Boot_loader Archwiki]&lt;br /&gt;
* [https://wiki.postmarketos.org/wiki/Category:Bootloaders PostmarketOS Wiki]&lt;br /&gt;
* [https://www.denx.de/wiki/U-Boot/ReleaseCycle U-Boot Release Cycle]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Booting]]&lt;/div&gt;</summary>
		<author><name>Vegas</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Hyprland&amp;diff=30902</id>
		<title>Hyprland</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Hyprland&amp;diff=30902"/>
		<updated>2025-09-13T12:39:06Z</updated>

		<summary type="html">&lt;p&gt;Vegas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is about [https://hyprland.org Hyprland], a [[wayland]] based tiling compositor with all the eyecandy, powerful plugins and much more. &lt;br /&gt;
&lt;br /&gt;
Refer to [https://wiki.hyprland.org/Getting-Started/Master-Tutorial/ hyprland Tutorial] to get started on using Hyprland.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
{{:Include:Desktop prerequisites}}&lt;br /&gt;
* Install [[Alpine_setup_scripts#setup-wayland-base|wayland-base]].This enables [[elogind]] as [[Seat manager|seat manager]], enables [[Repositories#Community|community repository]] and enables [[eudev]].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Install the package {{Pkg|hyprland|arch=}} using the command: {{Cmd|# apk add hyprland}} &lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== consistent icon theme ===&lt;br /&gt;
&lt;br /&gt;
Depending on what applications you are running, you only need the HYPRCURSOR_THEME environment, it should work for all modern applications. But since you are reading this, you probably found an incompatible application. You have the option to disable hyprcursors, then you need only one theme. Otherwise you need to download a theme that is available as hyprcursors and xcursors (e.g. rose-pine-hyprcursor).&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;# Set the theme for most applications&lt;br /&gt;
env = HYPRCURSOR_THEME,$your_hyprcursor_theme&lt;br /&gt;
env = HYPRCURSOR_SIZE,24&lt;br /&gt;
# Set the theme for some Qt applications&lt;br /&gt;
env = XCURSOR_THEME,$your_xcursor_theme&lt;br /&gt;
env = XCURSOR_SIZE,24&lt;br /&gt;
# Set the theme for some GTK applications&lt;br /&gt;
exec-once = gsettings set org.gnome.desktop.interface cursor-theme $your_xcursor_theme&lt;br /&gt;
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If you use gsettings make sure you have installed {{pkg|gsettings-desktop-schemas}} package.&lt;br /&gt;
&lt;br /&gt;
== Plugins ==&lt;br /&gt;
&lt;br /&gt;
=== hyprland-plugin-manager ===&lt;br /&gt;
&lt;br /&gt;
From Alpine v3.22 on the &#039;&#039;hyprland-plugin-manager&#039;&#039; package is available. It installs the complete development-tree of hyprland, since it requires to compile hyprland. It is possible to uninstall &#039;&#039;hyprland-plugin-manager&#039;&#039; after the plugin is compiled.&lt;br /&gt;
&lt;br /&gt;
=== hyrpland-plugins ===&lt;br /&gt;
&lt;br /&gt;
From Alpine v3.23 (not yet released) on or on &#039;&#039;edge&#039;&#039; it is possible to install the [https://github.com/hyprwm/hyprland-plugins official plugins] as a [https://pkgs.alpinelinux.org/package/edge/community/x86_64/hyprland-plugins package]. Checkout the subpackages to install individual plugins.&lt;br /&gt;
&lt;br /&gt;
=== loading plugins ===&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;plugin = /usr/lib/libhyprexpo.so&lt;br /&gt;
plugin {&lt;br /&gt;
    hyprexpo {&lt;br /&gt;
            columns = 3&lt;br /&gt;
            gap_size = 0&lt;br /&gt;
            workspace_method = first 1&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This is also useful if you have uninstalled &#039;&#039;hyprland-plugin-manager&#039;&#039; and you can&#039;t load the plugin via it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Black/Magenta checkerboard background: Hyprland failed to load 1 essential asset ===&lt;br /&gt;
&lt;br /&gt;
As of Hyprland 0.45.0, upstream shows a scary message (and an ugly graphic) if you don&#039;t have their wallpapers installed.&lt;br /&gt;
&lt;br /&gt;
The ugly graphic goes away when you&#039;ve launched a [https://wiki.hyprland.org/Useful-Utilities/Wallpapers/ wallpaper utility], but the scary message remains.&lt;br /&gt;
&lt;br /&gt;
The canonical way to solve this is to install {{pkg|hyprland-wallpapers}} package using the command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add hyprland-wallpapers}}&lt;br /&gt;
&lt;br /&gt;
Or you can just have some file at {{Path|/usr/share/hypr/wall0.png}} or {{Path|/usr/local/share/hypr/wall0.png}} and modify your config file to have a line as follows: {{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;misc {&lt;br /&gt;
        force_default_wallpaper = 0&lt;br /&gt;
    }&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Hyprland crashes almost immediately ===&lt;br /&gt;
&lt;br /&gt;
Hyprland 0.46 has a bug where the default configuration will crash if Xwayland is not installed. You can either install {{pkg|xwayland}}, or  disable in your config:&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;xwayland:enabled = false&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This should be fixed in the next update.&lt;br /&gt;
&lt;br /&gt;
=== warning message about hyprland-qtutils ===&lt;br /&gt;
&lt;br /&gt;
Hyprland 0.46 and newer suggest you install hyprland-qtutils, which is currently not available in alpine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Your system does not have hyprland-qtutils installed. This is a runtime dependency for some dialogs. Consider installing it.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can disable the check in your config like so:&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;misc:disable_hyprland_qtutils_check = true&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== DBUS_SESSION_BUS_ADDRESS unset ===&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using login manager, create a copy of {{ic|/usr/share/wayland-sessions/hyprland.desktop}} that starts Hyprland within D-Bus session:&lt;br /&gt;
&lt;br /&gt;
 Exec=dbus-run-session -- Hyprland&lt;br /&gt;
&lt;br /&gt;
Also make sure that D-Bus is started as a system service.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
 &lt;br /&gt;
* [https://wiki.hyprland.org Official Hyprland wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:compositor]]&lt;/div&gt;</summary>
		<author><name>Vegas</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Hyprland&amp;diff=30901</id>
		<title>Hyprland</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Hyprland&amp;diff=30901"/>
		<updated>2025-09-13T12:38:18Z</updated>

		<summary type="html">&lt;p&gt;Vegas: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This wiki page is about [https://hyprland.org Hyprland], a [[wayland]] based tiling compositor with all the eyecandy, powerful plugins and much more. &lt;br /&gt;
&lt;br /&gt;
Refer to [https://wiki.hyprland.org/Getting-Started/Master-Tutorial/ hyprland Tutorial] to get started on using Hyprland.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
{{:Include:Desktop prerequisites}}&lt;br /&gt;
* Install [[Alpine_setup_scripts#setup-wayland-base|wayland-base]].This enables [[elogind]] as [[Seat manager|seat manager]], enables [[Repositories#Community|community repository]] and enables [[eudev]].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Install the package {{Pkg|hyprland|arch=}} using the command: {{Cmd|# apk add hyprland}} &lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== consistent icon theme ===&lt;br /&gt;
&lt;br /&gt;
Depending on what applications you are running, you only need the HYPRCURSOR_THEME environment, it should work for all modern applications. But since you are reading this, you probably found an incompatible application. You have the option to disable hyprcursors, then you need only one theme. Otherwise you need to download a theme that is available as hyprcursors and xcursors (e.g. rose-pine-hyprcursor).&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;# Set the theme for most applications&lt;br /&gt;
env = HYPRCURSOR_THEME,$your_hyprcursor_theme&lt;br /&gt;
env = HYPRCURSOR_SIZE,24&lt;br /&gt;
# Set the theme for some Qt applications&lt;br /&gt;
env = XCURSOR_THEME,$your_xcursor_theme&lt;br /&gt;
env = XCURSOR_SIZE,24&lt;br /&gt;
# Set the theme for some GTK applications&lt;br /&gt;
exec-once = gsettings set org.gnome.desktop.interface cursor-theme $your_xcursor_theme&lt;br /&gt;
exec-once = gsettings set org.gnome.desktop.interface cursor-size 24&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If you use gsettings make sure you have installed {{pkg|gsettings-desktop-schemas}} package.&lt;br /&gt;
&lt;br /&gt;
== Plugins ==&lt;br /&gt;
&lt;br /&gt;
=== hyprland-plugin-manager ===&lt;br /&gt;
&lt;br /&gt;
From Alpine v3.22 on the &#039;&#039;hyprland-plugin-manager&#039;&#039; package is available. It installs the complete development-tree of hyprland, since it requires to compile hyprland. It is possible to uninstall &#039;&#039;hyprland-plugin-manager&#039;&#039; after the plugin is compiled.&lt;br /&gt;
&lt;br /&gt;
=== hyrpland-plugins ===&lt;br /&gt;
&lt;br /&gt;
From Alpine v3.23 (not yet released) on or on &#039;&#039;edge&#039;&#039; it is possible to install the [https://github.com/hyprwm/hyprland-plugins official plugins] as a [https://pkgs.alpinelinux.org/package/edge/community/x86_64/hyprland-plugins package]. Checkout the subpackages to install individual plugins.&lt;br /&gt;
&lt;br /&gt;
=== loading plugins ===&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;plugin = /usr/lib/libhyprexpo.so&lt;br /&gt;
plugin {&lt;br /&gt;
    hyprexpo {&lt;br /&gt;
            columns = 3&lt;br /&gt;
            gap_size = 0&lt;br /&gt;
            workspace_method = first 1&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This is also useful if you have uninstalled &#039;&#039;hyprland-plugin-manager&#039;&#039; and you can&#039;t load the plugin via it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Black/Magenta checkerboard background: Hyprland failed to load 1 essential asset ===&lt;br /&gt;
&lt;br /&gt;
As of Hyprland 0.45.0, upstream shows a scary message (and an ugly graphic) if you don&#039;t have their wallpapers installed.&lt;br /&gt;
&lt;br /&gt;
The ugly graphic goes away when you&#039;ve launched a [https://wiki.hyprland.org/Useful-Utilities/Wallpapers/ wallpaper utility], but the scary message remains.&lt;br /&gt;
&lt;br /&gt;
The canonical way to solve this is to install {{pkg|hyprland-wallpapers}} package using the command:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add hyprland-wallpapers}}&lt;br /&gt;
&lt;br /&gt;
Or you can just have some file at {{Path|/usr/share/hypr/wall0.png}} or {{Path|/usr/local/share/hypr/wall0.png}} and modify your config file to have a line as follows: {{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;misc {&lt;br /&gt;
        force_default_wallpaper = 0&lt;br /&gt;
    }&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Hyprland crashes almost immediately ===&lt;br /&gt;
&lt;br /&gt;
Hyprland 0.46 has a bug where the default configuration will crash if Xwayland is not installed. You can either install {{pkg|xwayland}}, or  disable in your config:&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;xwayland:enabled = false&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This should be fixed in the next update.&lt;br /&gt;
&lt;br /&gt;
=== warning message about hyprland-qtutils ===&lt;br /&gt;
&lt;br /&gt;
Hyprland 0.46 and newer suggest you install hyprland-qtutils, which is currently not available in alpine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Your system does not have hyprland-qtutils installed. This is a runtime dependency for some dialogs. Consider installing it.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can disable the check in your config like so:&lt;br /&gt;
&lt;br /&gt;
{{Cat|~/.config/hypr/hyprland.conf|&amp;lt;nowiki&amp;gt;misc:disable_hyprland_qtutils_check = true&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== DBUS_SESSION_BUS_ADDRESS unset ===&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using login manager, create a copy of {{ic|/usr/share/wayland-sessions/hyprland.desktop}} that starts Hyprland within D-Bus session:&lt;br /&gt;
&lt;br /&gt;
 Exec=dbus-run-session -- Hyprland&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
 &lt;br /&gt;
* [https://wiki.hyprland.org Official Hyprland wiki]&lt;br /&gt;
&lt;br /&gt;
[[Category:compositor]]&lt;/div&gt;</summary>
		<author><name>Vegas</name></author>
	</entry>
</feed>