Created
December 28, 2016 19:47
-
-
Save NickWoodhams/9636ce456238e8e4467191a5f0dccc81 to your computer and use it in GitHub Desktop.
Copy Clover installation from /EFI to UEFI partition on target drive. Change disk0 with with your target drive. Find disk number with "diskutil list" command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo newfs_msdos -v EFI -F 32 /dev/rdisk0s1 | |
sudo mkdir /Volumes/EFI | |
sudo mount -t msdos /dev/disk0s1 /Volumes/EFI | |
sudo rm -rf /Volumes/EFI/EFI | |
sudo cp -R /EFI /Volumes/EFI | |
sudo diskutil unmount /Volumes/EFI |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also how are you copying over your installation to the NVMe Raid0 Array. Just want to see if you are doing anything of particular note to make this work.