Skip to content

Instantly share code, notes, and snippets.

View freebsd_vm_partition.sh
#!/bin/sh
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
rudolfwalter / maya2017install.sh
Last active Apr 17, 2017 — forked from borgfriend/maya2017install.sh
Maya 2017 Installation on Ubuntu 16.04
View maya2017install.sh
#!/bin/bash
#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
fi
#Check for 64-bit arch
if [ uname -m != x86_64 ]; then
You can’t perform that action at this time.