Skip to content

[For Beta 6] Update UEFI guide to reflect new EFI loader copy tool #725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 11 additions & 18 deletions content/guides/uefi_booting.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,25 @@ Haiku also supports booting via the traditional [BIOS](https://en.wikipedia.org/

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.

1. Follow the instructions of the [installation guide](/get-haiku/installation-guide/) and instead of opting to begin the install, choose _Try Haiku_ and proceed with the instructions below.
2. Once the system has booted from the install media, open the [Drive Setup](/docs/userguide/en/applications/drivesetup.html) application.
3. Use the <span class="menu">Disk</span> > <span class="menu">Initialize</span> > <span class="menu">GUID Partition Map...</span> option to initialize the disk.
4. Create a UEFI boot partition
1. Follow the instructions of the [installation guide](/get-haiku/installation-guide/) until reaching the [Drive Setup](/docs/userguide/en/applications/drivesetup.html) step, then proceed with the instructions below.
2. Use the <span class="menu">Disk</span> > <span class="menu">Initialize</span> > <span class="menu">GUID Partition Map...</span> option to initialize the disk.
3. Create a UEFI boot partition
1. Create a 64 MiB partition of type _EFI system data_ with name `EFIBOOT` by choosing the _Empty space_ associated with the disk and choosing <span class="menu">Partition</span> > <span class="menu">Create...</span>
2. Format the partition as _FAT32 File System_ with a label `EFIBOOT` by choosing the partition and choosing <span class="menu">Partition</span> > <span class="menu">Format</span> > <span class="menu">FAT32 File System</span>.
5. Create a Haiku partition
4. Create a Haiku partition
1. Create a large partition (> 8 GiB suggested) of type _Be File System_ with a name of your choice.
2. Format the partition as _Be File System_ with a label of your choice.
7. Copy the boot software into the `EFIBOOT` partition.
1. In the DriveSetup application, select the `EFIBOOT` partition and mount it by choosing <span class="menu">Partition</span> > <span class="menu">Mount</span>.
2. Open the [Terminal](/docs/userguide/en/applications/terminal.html) application.
3. Execute the commands;
```sh
mkdir -p /EFIBOOT/EFI/BOOT
cp /system/data/platform_loaders/haiku_loader.efi /EFIBOOT/EFI/BOOT/BOOTX64.EFI
```
4. Press <span class="key">CTRL</span>-<span class="key">D</span> to close the terminal.
8. Install Haiku onto the system
5. Install the boot software into the `EFIBOOT` partition.
1. Close Drive Setup, and hover over the <span class="menu">Tools</span> > <span class="menu">Install EFI loader</span> option.
2. Select the partition you created in step 3.
6. Install Haiku onto the system
1. Open the [Installer](/docs/userguide/en/applications/installer.html) application.
2. Select your Be File System setup earlier as the _Onto_ field
3. Choose <span class="button">Begin</span>
4. Once the installation is complete, choose <span class="button">Quit</span> to close the Installer.
9. Shutdown the system.
10. Remove the boot media; for example the USB key.
11. Restart the system.
7. Shutdown the system.
8. Remove the boot media; for example the USB key.
9. Restart the system.

### Advanced Install

Expand Down