Moved the function that searches for the boot partition index to the PartitionTable struct as a method. The method returns -1 if not found and it's now the responsibility of the caller to handle the case where it is not found.