UEFI Booting Haiku
UEFI Booting the Anyboot Image
Haiku also supports booting via the traditional BIOS boot system. See the regular install instructions if your hardware requires a BIOS boot process. Use the instructions on this page should your hardware require a UEFI boot process. The instructions are somewhat manual at the present time (R1/beta5), but should be enhanced with a more guided process in the future.
Install Steps
The following steps assume a fresh installation where the local disk will be used in its entirety for Haiku. The process below will completely wipe the target disk! Back up any data you still need.
- Follow the instructions of the installation guide and instead of opting to begin the install, choose Try Haiku and proceed with the instructions below.
- Once the system has booted from the install media, open the Drive Setup application.
- Use the > > option to initialize the disk.
- Create a UEFI boot partition
- Create a 64 MiB partition of type EFI system data with name
EFIBOOT
by choosing the Empty space associated with the disk and choosing > - Format the partition as FAT32 File System with a label
EFIBOOT
by choosing the partition and choosing > > .
- Create a 64 MiB partition of type EFI system data with name
- Create a Haiku partition
- Create a large partition (> 8 GiB suggested) of type Be File System with a name of your choice.
- Format the partition as Be File System with a label of your choice.
- Copy the boot software into the
EFIBOOT
partition.- In the DriveSetup application, select the
EFIBOOT
partition and mount it by choosing > . - Open the Terminal application.
- Execute the commands;
mkdir -p /EFIBOOT/EFI/BOOT cp /system/data/platform_loaders/haiku_loader.efi /EFIBOOT/EFI/BOOT/BOOTX64.EFI
- Press CTRL-D to close the terminal.
- In the DriveSetup application, select the
- Install Haiku onto the system
- Open the Installer application.
- Select your Be File System setup earlier as the Onto field
- Choose
- Once the installation is complete, choose to close the Installer.
- Shutdown the system.
- Remove the boot media; for example the USB key.
- Restart the system.
Advanced Install
To have Haiku on a system shared with multiple EFI operating systems, you can use this more advanced layout on the EFIBOOT
partition:
- EFI (directory)
- HAIKU (directory)
- BOOTX64.EFI (Haiku’s UEFI loader, aka haiku_loader.efi)
- BOOT (directory)
- BOOTX64.EFI (boot mananger such as rEFInd)
- HAIKU (directory)
In this configuration, rEFInd will boot first by default, and will detect HAIKU as a boot option.