#3545: bootman : implement multi-drive support
-----------------------------+-------------------------
Reporter: mmadia | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version:
Resolution: | Keywords:
Blocked By: | Blocking: 2477, 13026
Has a Patch: 0 | Platform: All
-----------------------------+-------------------------
Comment (by pulkomandy):
Yes, as it was documented in comment:10.
The problem with getting the drive ID is that these are not stored
anymore, and once our ATA stack has taken over the BIOS for disk control,
we have no way to get it anymore. It is important that the IDs are correct
for the bootmanager menu to work properly (and boot things on the right
drive).
IIRC, this was discussed on the mailing lists some time ago, and a
possible solution is that the bootloader should provide the kernel with
enough information to identify the drives. I think it was mentionned that
BeOS would read sectors from the disk and compute a checksum, until it
found an offset where the checksum would be different for all drives. It
then provided a map from the checksum to the drive IDs, and the kernel
could compute the same checksum and use the map to know the drive ID.
Another option for identifying the drives is asking them for their
internal data (serial number, etc) and using that, hoping that we don't
find two drives with identical serial numbers.
--
Ticket URL: <https://dev.haiku-os.org/ticket/3545#comment:15>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.