bootman : implement multi-drive support
|Reported by:||mmadia||Owned by:||nobody|
|Blocked By:||Blocking:||#2477, #13026|
Description (last modified by )
Summarizing a thread from [haiku-development]
1) the boot loader needs to make a connection between drive ID and disk in a way that the OS can recognize it again. IIRC BeOS uses a sum/hash of the contents of a few blocks until it has enough to differentiate all (BIOS) drives. The name, or serial number is probably not reliably available from the BIOS, but I haven't really tried that yet.
2) it would need to store that information in the kernel_args structure.
3) when the OS detects the drives, it would see in that structure how it can recognize the drive again, and can then store the BIOS ID of that drive internally, so that B_GET_BIOS_DRIVE_ID can work as expected.