Created
October 2, 2011 17:05
-
-
Save graudeejs/1257641 to your computer and use it in GitHub Desktop.
Create FreeBSD GPT ZFS bootable partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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