From 2b637b91d337e04c27ccbcbb83c780cd7ebd7d81 Mon Sep 17 00:00:00 2001 From: vit9696 Date: Fri, 11 Dec 2020 11:37:35 +0300 Subject: [PATCH] Utilities: Fixed installing OpenDuet on protected volumes, thx Rodion --- Changelog.md | 2 ++ Utilities/LegacyBoot/BootInstallBase.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index c5ffd0f5..9d28b7b1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,7 @@ OpenCore Changelog ================== +#### v0.6.5 +- Fixed installing OpenDuet on protected volumes #### v0.6.4 - Added `BlacklistAppleUpdate` to fix macOS 11 broken update optout diff --git a/Utilities/LegacyBoot/BootInstallBase.sh b/Utilities/LegacyBoot/BootInstallBase.sh index 3113a3ce..ec4202d2 100755 --- a/Utilities/LegacyBoot/BootInstallBase.sh +++ b/Utilities/LegacyBoot/BootInstallBase.sh @@ -38,7 +38,7 @@ cp -v boot1f32 newbs sudo dd if=origbs of=newbs skip=3 seek=3 bs=1 count=87 conv=notrunc dd if=/dev/random of=newbs skip=496 seek=496 bs=1 count=14 conv=notrunc sudo dd if=newbs of=/dev/rdisk"${N}"s1 -diskutil mount disk"${N}"s1 +sudo diskutil mount disk"${N}"s1 cp -v "boot${ARCHS}" "$(diskutil info disk"${N}"s1 | sed -n 's/.*Mount Point: *//p')/boot"