[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:52:54 +0100

El 27/1/21 a las 17:33, Adrien Destugues escribió:

Hi,

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


I guess I solved it. The problem is that, according to my findings, Haiku boot loader identifies the partition based on the file system flag, which in this case should be 0xEB00.

This leads me to the conclusion, that Haiku has a bug during disk partitioning or disk set up.

I had partitioned the disk using gparted under Linux. The Haiku partition was initially created as FAT32 and gparted sets the file system flag as 0x0700.

When I booted Haiku USB and prepared the partition as BeOS FS, apparently Haiku did not set the file system indicator to 0xEB00. Thus the boot loader cannot find the partition, because it cannot find an EB00 one.

Now I used gdisk to set the file system flag to EB00 and I will try to boot. I will update if it does not work.


You need to set up the EFI system partition and copy the bootloader there at 
the correct place.
Currently our Installer does not know how to do this on its own. We plan to fix 
this, but for
now, EFI setup is a manual process

It is not clear what you get (you say only "a sort of menu") and what the 
problem is (you only say
"I cannot use it"). Do you get the haiku bootloader menu? (this one clearly says 
"Welcome to the Haiku
bootloader" at the top so it should be easy to identify) or do you get some 
other menu from your BIOS?


Yes, it is the Haiku Bootloader Menu.

Do the keyboard work or not at all? Is the "select boot volume" option 
available and are there any
volumes listed in there?


I cannot use the keyboard and there are no volumes to choose from. Only boot Haiku, then an entry about screen resolution, another about safe mode, and a fourth that I happen to forget now.

Thank you for your reply.

--
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: