Skip to content

Instantly share code, notes, and snippets.

@NickWoodhams
Created December 28, 2016 19:47
Show Gist options
  • Save NickWoodhams/9636ce456238e8e4467191a5f0dccc81 to your computer and use it in GitHub Desktop.
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.
#!/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
@salbito
Copy link

salbito commented Jan 12, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment