proper newfs options for SSD disk

Matthias Apitz guru at unixarea.de
Sat Jun 16 18:58:46 UTC 2012


El día Wednesday, May 30, 2012 a las 07:44:37PM +0200, Wojciech Puchar escribió:

> > from; one has to go (by pressing ESC) to the boot menu to pick it up as
> > current boot device; any idea how this could be changed?
> 
> boot from 4GB. just put /boot here and add
> 
> vfs.root.mountfrom="ufs:XXX"
> 
> where XXX is your root filesystem device name with "/dev/" stripped
> 
> do not forget to bsdlabel -B your.4GB.SSD
> 
> WARNING: you must have proper disklabel with a: partition containing UFS 
> with /boot.
> 
> But you may have a partition equal to whole disk
> 
>    a:  117231408          0    4.2BSD        0     0     0
>    c:  117231408          0    unused        0     0     # "raw" part, don't edit
> 
> 
> and it is absolutely OK, UFS do not overwrite first few sectors as it is 
> reserved for it.
> 
> And PLEASE DO NOT make this stupid MSDOS style slices. It is not just 
> unneeded but introduces mess and only mess.
> 
> just have /dev/ad0a not /dev/ad0s1a

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?

	matthias
-- 
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-hackers mailing list