Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Create Partition --
- # gpart create -s gpt da0
- da0 created
- # gpart show da0
- => 63 312579603 da0 GPT (149G)
- 63 312579603 - free - (149G)
- # gpart add -t freebsd da0
- da0p1 added
- (take note of the output "da0s1")
- # newfs /dev/da0s1
- -- /etc/fstab --
- # nano /etc/fstab
- (mkdir newdir)
- /dev/da0p1 /newdir ufs rw 2 2
- -- Delete / Destroy Partition --
- # gpart delete -i 1 da0p1
- Destroy "slices" (repeat as needed),
- # gpart destroy da0p1
- Delete the GEOM label,
- # gpart delete -i 1 da0
- Destroy the GEOM label,
- # gpart destroy da0
- On every step, verify the partition table :
- # gpart show da0
- and
- # gpart list
Add Comment
Please, Sign In to add comment