[haiku-bugs] [Haiku] #18184: x86_64/UEFI - Doesn't boot after selecting the boot partition.

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 28 Dec 2022 09:38:43 -0000

#18184: x86_64/UEFI - Doesn't boot after selecting the boot partition.
-------------------------------------------------+-------------------------
 Reporter:  LSS37040                             |       Owner:  (none)
     Type:  bug                                  |      Status:  new
 Priority:  normal                               |   Milestone:
                                                 |  Unscheduled
Component:  System/Boot Loader/EFI               |     Version:  R1/beta4
 Keywords:  x86_64, uefi, refind, installer,     |  Blocked By:
  csm                                            |
 Blocking:                                       |    Platform:  x86-64
-------------------------------------------------+-------------------------
 With the release of new R1/beta4 I decided to reinstall my old Haiku
 install on a modern motherboard of mine but I ran into several issues.

 The board is ASRock X570 Taichi Razer Edition. I've disabled CSM (as I
 don't have any use of it since all disks are GPT and all systems use
 UEFI), with fTPM and Secure Boot all disabled.

 1. I still need to use the on-chassis SD Card Reader to be able to use
 DriveSetup.

 See issue #17287 that I reported a long time ago. With an unpopulated SD
 Card Reader, DriveSetup still hangs. With pre-made partitions, it seems
 I'm not really required to use it to format the target partition
 beforehand, as reinstalling will wipe it anyway.

 2. When booting Haiku install medium with the on-chassis SD Card Reader,
 the installer doesn't start. Instead, it boots straight to the live system
 and I have to open Installer manually.

 I don't know how the install medium decides to open the Installer, but the
 installation can succeed. Just that on this particular system, I cannot
 really start the system I installed (see the next part).

 On the other hand, if I boot the using an external card reader with the
 same SD card loaded, then the installation process does start on boot, and
 I'm greeted with options to choose language and keyboard layout.

 3. I use rEFInd to boot the Haiku Boot manager, but something's odd.

 When choosing the Haiku option, I'm immediately prompted the boot menu
 asking me to select the boot partition. In some cases there should be only
 one entry, but in recent cases I noticed there are two same entries.

 It doesn't matter which one I choose, I simply cannot boot. When I chose
 "Continue booting", the Haiku logo showed for a brief second then it
 reboots. There's no KDL, no message of any kind. I'm using NVMe SSDs, but
 that shouldn't matter as I did boot older Haiku builds on the same board
 before.

 Should note that when I directly boot the SD card containing the
 installation medium with an external card reader (not the on-chassis one),
 there's also a chance the boot menu will show up, offering option to boot
 either my existing install or the install medium (Haiku), and "Continue
 booting" will lead to the same reboot behavior regardless of the option I
 chose. Again, there's no KDL, no message of any kind.


 Now I'm a bit stuck as I don't really know what exactly might be causing
 the issue. It seems booting the x86_64 version of Haiku with UEFI is still
 complicated and I think I might have missed something.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18184>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: