Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2012 17:22:33 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-hackers@freebsd.org, rozhuk.im@gmail.com
Subject:   Re: proper newfs options for SSD disk
Message-ID:  <alpine.BSF.2.00.1206181719360.37038@wojtek.tensor.gdynia.pl>
In-Reply-To: <20120616185822.GA1253@tiny.Sisis.de>
References:  <alpine.BSF.2.00.1205182209010.9350@wojtek.tensor.gdynia.pl> <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <20120525183006.GA1259@tiny> <alpine.BSF.2.00.1205252240260.31165@wojtek.tensor.gdynia.pl> <20120525225839.GA7347@server.rulingia.com> <alpine.BSF.2.00.1205261550110.70207@wojtek.tensor.gdynia.pl> <20120527082745.GA2591@tinyCurrent> <alpine.BSF.2.00.1205301938070.17367@wojtek.tensor.gdynia.pl> <20120616185822.GA1253@tiny.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1206181719360.37038>