hardware: macmini5,1 https://wiki.freebsd.org/IntelMacMini#Mac_mini_5.1 https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix [ i5-2xxx == SandyBridge ] references: http://aloneinahole.blogspot.ca/2014/08/dual-boot-osx-and-freebsd-on-macbook-pro.html https://glenbarber.us/2011/11/12/Dual-Booting-OS-X-and-FreeBSD-9.html ] https://forums.freebsd.org/threads/uefi-gpt-dual-boot-how-to-install-freebsd-with-zfs-alongside-another-os-sharing-the-same-disk.75734/ ---- + replace internal HD with SSD > see iFixit for excellent step-by-step guide: https://www.ifixit.com/Guide/Mac+mini+Mid+2011+Hard+Drive+Replacement/6422 - to lever out the logic board, use 2 skinny Allen(hex) keys ie. instead of the special "Mac mini Logic Board Removal Tool" - SSD is half as thick as the original HD: SSD will tend to "sag" when trying to put it in place. stand the MacMini on its "nose" so the SSD can drop into the spaces meant for the side screws. + partition SSD to allow room for both OS X and FreeBSD. > boot to "Recovery" mode - as the Boot "Chime" sounds, press+hold the keys ... {Command aka Window aka Clover} and "R" > run Disk Utility (a GUI util) - set desired partition size(s). + install OS X High Sierra (10.13.6) on chosen partition. - check AppStore for security updates, apply patches. | | to re-install macOS on a MacMini with RemoteManagement enabled: | | - try to avoid using WiFi. use wired net, if possible. | | - boot to RecoverMode - press Command/Window + option/Alt + R | https://www.macworld.com/article/232413/how-to-reinstall-macos-if-macos-recovery-is-unavailable.html | | - after reinstall finished, disconnect network/disable WiFi for | final system setup. | + install rEFInd http://www.rodsbooks.com/refind/ + insert FreeBSD mini-memstick image and boot to rEFInd. https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.2/FreeBSD-12.2-RELEASE-amd64-mini-memstick.img.xz > choose "EFISYS". > followed typical FreeBSD installation ... until ... - when prompted to "" or "", chose "" # gpart show # gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 3 ada0 # echo 'vfs.root.mountfrom="ufs:ada0p4"' >> /boot/loader.conf.local > add FreeBSD to rEFInd's boot choices. https://forums.freebsd.org/threads/uefi-gpt-dual-boot-how-to-install-freebsd-with-zfs-alongside-another-os-sharing-the-same-disk.75734/ - mount the existing EFI partition ... # mount -t msdosfs /dev/ada0p1 /media - copy FreeBSD's EFI boot loader to the EFI partition: # mkdir -p /media/efi/boot # cp /boot/boot1.efi /media/efi/boot/freebsd.efi - edit refind.conf to add FreeBSD entry: | # ed /media/efi/refind/refind.conf | $a | | #### | # FreeBSD | menuentry "FreeBSD" { | loader /efi/boot/freebsd.efi | icon /efi/refind/icons/os_freebsd.png | } | . | w | q | # > reboot. ---- argh, DRM support pkg has a mis-match! sigh. https://forums.freebsd.org/threads/i915kms-package-breaks-on-12-2-release-workaround-build-from-ports.77501/ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250700 > clean up. pkg remove drm-kmod pkg autoremove > install drm-kmod from ports. https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html mkdir /usr/ports cd /usr/ports portsnap fetch portsnap extract cd /usr/ports/graphics/drm-kmod make make install > set {kld_list} in /etc/rc.conf. echo 'kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko"' >> /etc/rc.conf > reboot.