OSX Bootloader: Difference between revisions
From wikinotes
No edit summary |
|||
Line 6: | Line 6: | ||
= Blessing a boot loader = | = Blessing a boot loader = | ||
<pre> | |||
Disable System Integrity Protection. | |||
Restart the computer, then while booting, hold down Command-R to boot into recovery mode. | |||
Once booted, navigate to the “Utilities > Terminal” in the top menu bar. | |||
Enter csrutil disable in the terminal window and hit the return key. | |||
</pre> | |||
<pre> | <pre> | ||
# first mount your refi | # first mount your refi | ||
sudo bless --mount /Volumes/esp --setBoot --file /Volumes/esp/EFI/BOOT/bootx64.efi | sudo bless --mount /Volumes/esp --setBoot --file /Volumes/esp/EFI/BOOT/bootx64.efi | ||
</pre> | </pre> |
Revision as of 23:08, 11 March 2022
Mounting the EFI Dir
sudo mkdir /Volumes/esp sudo mount -t msdos /dev/disk0s1 /Volumes/esp
Blessing a boot loader
Disable System Integrity Protection. Restart the computer, then while booting, hold down Command-R to boot into recovery mode. Once booted, navigate to the “Utilities > Terminal” in the top menu bar. Enter csrutil disable in the terminal window and hit the return key.
# first mount your refi sudo bless --mount /Volumes/esp --setBoot --file /Volumes/esp/EFI/BOOT/bootx64.efi