diff --git a/disk/part_efi.c b/disk/part_efi.c index 1d18302971..0783289432 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -415,7 +415,7 @@ static int part_efi_repair(struct blk_desc *dev_desc, gpt_entry *gpt_pte, gpt_head->header_crc32 = 0; gpt_head->my_lba = 1; gpt_head->alternate_lba = dev_desc->lba - 1; - gpt_head->partition_entry_lba = 0x22; + gpt_head->partition_entry_lba = 0x2; gpt_head->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); gpt_entry_modify(dev_desc, gpt_pte, gpt_head); calc_crc32 = efi_crc32((const unsigned char *)gpt_head,