proper newfs options for SSD disk

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Jun 18 15:23:12 UTC 2012


> OK, but I wanted to have most of the space of the 4 GB SSD encrypted
> with geli(8); so I should make there some slice containing /boot
> (unencrypted) and a second slice which later will contain my HOME and
> encrypted; wrong?
right.

but do not forget bootloader requires things to be in /boot directory on 
boot partition

so do it that way

20MB /b partition (a)
rest - geli encrypted / partition (d)

on / partition make link /boot -> /b/boot

put /boot things in /b/boot


well done custom kernel should fit in 10MB /b partition including boot 
loader. and you can gzip /boot/kernel/kernel



More information about the freebsd-hackers mailing list