Skip to content

Instantly share code, notes, and snippets.

umount /mnt
gpart destroy -F da0
gpart create -s gpt da0
gpart add -t freebsd-boot -l gpboot -b 40 -s 512K da0
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 da0
gpart add -t efi -l gpefiboot -a4k -s492k da0
rudolfwalter /
Last active Apr 17, 2017 — forked from borgfriend/
Maya 2017 Installation on Ubuntu 16.04
#Make sure we’re running with root permissions.
if [ `whoami` != root ]; then
echo Please run this script using sudo
echo Just type “sudo !!
exit 1
#Check for 64-bit arch
if [ uname -m != x86_64 ]; then