no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | geli [2013/03/29 21:15] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== geli ====== | ||
+ | * [[FreeBSD]] | ||
+ | |||
+ | < | ||
+ | # dd if=/ | ||
+ | # geli init -s 4096 -K ada1.key /dev/ada1 | ||
+ | Enter new passphrase: | ||
+ | Reenter new passphrase: | ||
+ | |||
+ | Metadata backup can be found in / | ||
+ | can be restored with the following command: | ||
+ | |||
+ | # geli restore / | ||
+ | |||
+ | Unlock the encrypted volume | ||
+ | # geli attach -k ada1.key /dev/ada1 | ||
+ | |||
+ | Fill the volume with random data | ||
+ | # pv -ptre /dev/random | dd bs=1M of=/ | ||
+ | |||
+ | Format the new volume as UFS2 | ||
+ | # newfs -L private / | ||
+ | |||
+ | Unmount and detach encrypted volume | ||
+ | # umount /private | ||
+ | # geli detach ada1.eli | ||
+ | </ |