mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
installer: remove set of pmbr_boot on gpt partitions
this fix the efi boot on hdd's larger than 2TB and raid installations. fixes: #11890 Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -706,7 +706,6 @@ int hw_create_partitions(struct hw_destination* dest, const char* output) {
|
|||||||
if (*dest->part_bootldr) {
|
if (*dest->part_bootldr) {
|
||||||
asprintf(&cmd, "%s set %d bios_grub on", cmd, dest->part_boot_idx);
|
asprintf(&cmd, "%s set %d bios_grub on", cmd, dest->part_boot_idx);
|
||||||
}
|
}
|
||||||
asprintf(&cmd, "%s disk_set pmbr_boot on", cmd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
r = mysystem(output, cmd);
|
r = mysystem(output, cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user