diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-10 22:25:42 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-11-10 22:27:59 +0000 |
commit | 7a200a48ba29eb8093a626eacfbf11fca3e13314 (patch) | |
tree | 071a609af9a77ff3594b8201b7a15074c68c7865 | |
parent | 41e47c888ba3879ab9ed54613c3642d76b9beae8 (diff) | |
download | drakiso-7a200a48ba29eb8093a626eacfbf11fca3e13314.tar drakiso-7a200a48ba29eb8093a626eacfbf11fca3e13314.tar.gz drakiso-7a200a48ba29eb8093a626eacfbf11fca3e13314.tar.bz2 drakiso-7a200a48ba29eb8093a626eacfbf11fca3e13314.tar.xz drakiso-7a200a48ba29eb8093a626eacfbf11fca3e13314.zip |
Support starting isohybrid protective partition at sector 1
Starting at sector 0 causes problems on some old, buggy BIOSs (see
mga#5036 for example).
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/MGA/DrakISO/BuildISO.pm | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- support starting isohybrid protective partition at sector 1 + 1.2: - draklive: enable boot from updated kernel in persistent overlay diff --git a/lib/MGA/DrakISO/BuildISO.pm b/lib/MGA/DrakISO/BuildISO.pm index 7dc3667..532b0db 100644 --- a/lib/MGA/DrakISO/BuildISO.pm +++ b/lib/MGA/DrakISO/BuildISO.pm @@ -129,6 +129,9 @@ sub build_iso_image { # for USB EFI boot '-part_like_isohybrid', '-iso_mbr_part_type', '0x00', + if_($build->{media}{protect_sector_0} eq 'no', + '--protective-msdos-label', + ), '-append_partition', 2, '0xef', $esp_image, ), '-o', $dest, |