Skip to content

Instantly share code, notes, and snippets.

@NickWoodhams
Created December 28, 2016 19:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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

Sorry for snooping on your other gists but I'm curious about this.

I believe the X99 Chipset missed the boat on being able to boot directly from a NVMe drive.

Do you just install to a non NVMe SSD. Copy that over to the Raid0 Array and then blow up the non EFI partitions on the non NVMe SSD and tell the bios to boot from that?

@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