Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2012 20:58:23 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-hackers@freebsd.org, rozhuk.im@gmail.com
Subject:   Re: proper newfs options for SSD disk
Message-ID:  <20120616185822.GA1253@tiny.Sisis.de>
In-Reply-To: <alpine.BSF.2.00.1205301938070.17367@wojtek.tensor.gdynia.pl>
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>

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



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