[haiku-development] Re: Debugging boot failures.

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 08 Jun 2017 05:27:42 +0000

I don't think a DVD will work at this stage, requires an extra boot track
per El Torito spec.

Interesting that UEFI doesn't work, as only high level loader code is
shared.

Are you sure it's actually booting off USB in UEFI mode? I think Alex's
image also includes the BIOS loader.

You may want to try a FAT formatted USB drive with nothing else on it, and
copy haiku_loader.efi to it as EFI/BOOT/BOOTX64.EFI and boot just that. It
should drop you into the boot menu automatically.

Building with x86_64 target is:
HAIKU_BOOT_PLATFORM=efi jam -q haiku_loader.efi

On Thu, 8 Jun 2017, 3:25 PM Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:

FYI, it did not work. I am seeing exactly the same problem with the UEFI
image. Does it make a difference if I write it to a DVD or a USB drive?

On Wed, Jun 7, 2017, 1:50 PM Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:

On Wed, Jun 7, 2017 at 1:48 PM Jessica Hamilton <
jessica.l.hamilton@xxxxxxxxx> wrote:

On 8 June 2017 at 08:45, Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:
As I understand it, a recent build will already have uefi, no? Or is it
committed but not enabled in builds? I will try this build you
mentioned
when I get home.

It's committed, but there's no build automation for an anyboot image
with the UEFI loader at this point. It's a little bit tricky to set up
the Jamfiles and such... Alex's image Ralf linked to should work fine.


Great. I will try it. If it really works and I want to build a newer
image with efi enabled, do I have to do anything specific?


Other related posts: