Skip to content

Instantly share code, notes, and snippets.

@graudeejs
Created October 2, 2011 17:05
Show Gist options
  • Save graudeejs/1257641 to your computer and use it in GitHub Desktop.
Save graudeejs/1257641 to your computer and use it in GitHub Desktop.
Create FreeBSD GPT ZFS bootable partition
gpart create -s GPT ad4
gpart add -b 34 -s 256 -t freebsd-boot ad4
gpart add -b 290 -s 5242880 -t freebsd-swap ad4
gpart add -b 5243170 -t freebsd-zfs ad4
gpart bootcode -b /dist/boot/pmbr -p /dist/boot/gptzfsboot -i 1 ad4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment