[haiku-development] Re: Haiku EFI installation does not boot

  • From: Linuxero <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mageia" for DMARC)
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 27 Jan 2021 17:57:15 +0100

El 27/1/21 a las 17:52, Fredrik Holmqvist escribió:

Den ons 27 jan. 2021 kl 16:34 skrev Adrien Destugues <
pulkomandy@xxxxxxxxxxxxx>:

The boot process is as follows:

- The EFI firmware (the BIOS in your computer) looks for an EFI system
partition (FAT32 formatted)
- It mounts that partition and looks for a file named BOOTX64.EFI in a
specific location
- It loads and runs the file
- The file is the haiku bootloader
- The bootloader asks the firmware to enumerate partitions, and finds a
BFS formatted one
- It loads the haiku package from that partition, extracts the kernel from
it, and starts it

You can find BOOTX64.EFI in your USB drive. you may need to manually mount
the system partition
(right click on desktop -> mount) if not done automatically


As a side-note; I meant how does Haiku actually boot, I am aware of the BIOS and UEFI boot process, but I meant after that, when the operating system's boot loader takes control, what does it do?

That was my original question :)

The BOOT<arch>.EFI name is something that is only supposed to be used on
installation mediums and such.
After that a proper installation process would create a
/<osname'ish>/<somename>.EFI and add that boot entry to NVRAM.
We lack the second step, so doing that would require added boot entries
manually.

/Fredrik Holmqvist, TQH



--
Be good, be happy and never let the lovely smile on your nice lips fade away
Beatitude Sham; There are the angels of God with their wings spread wide open all over Sham.
Indeed; when wheedling blandishments prevail, faith dwells in Sham.
Oh God; bestow our Sham with Your blessings.

Other related posts: