[haiku-bugs] Re: [Haiku] #15587: Regression finding Haiku partition after GNU-EFI removal

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 06 Feb 2020 12:58:39 -0000

#15587: Regression finding Haiku partition after GNU-EFI removal
--------------------------------------+----------------------------
   Reporter:  tqh                     |      Owner:  jessicah
       Type:  bug                     |     Status:  assigned
   Priority:  blocker                 |  Milestone:  R1/beta2
  Component:  System/Boot Loader/EFI  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:
Has a Patch:  0                       |   Platform:  All
--------------------------------------+----------------------------
Comment (by tqh):

 We should not use device paths to find disks. Device paths are not only
 for block devices.

 My code iterates over block devices. UEFI lists one per disk + one for
 each partition. It skips all partition block devices and then let general
 Haiku bootplatform read and find Haiku partitions. It is very simple, we
 can also revert an API change we did for boot devices making API for all
 boot platforms simpler.

 There is a special case for a fixed block device with one partition, where
 it only lists one block device. I don't think we ever plan or can boot on
 that anyway, so I do

 I already have it compiling and booting on my machines, but it needs
 cleanup before uploading to Gerritt.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15587#comment:45>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: