FreeBSD and GPT
From ZS64
Jump to navigationJump to searchGPT is the new partitioning scheme, to replace the fdisk style partitions/slices and bsdlabel. Documentation is a bit scarce at teh moment, so here are some notes.
gpart getting started
- Create a GTP partition on the disk
- gpart create -s gpt ad4
- Install boot code on the disk
- gpart add -b 34 -s 128 -t freebsd-boot ad0
- gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ad4
- Add a partition
- gpart add -b 512 -s 1048576 -t freebsd-ufs ad4