• Andrei Borzenkov's avatar
    windows: correct LBA in generated EFI HDD media paths · a9399f2e
    Andrei Borzenkov authored
    GRUB keeps partition offset and size in units of 512B sectors. Media paths
    are defined in terms of LBA which are presumed to match HDD sector size.
    
    This is probably cosmetic (EFI requires that partition is searched by GUID)
    and still incorrect if GPT was created using different logical block size.
    But current code is obviously wrong and new has better chances to be correct.
    a9399f2e