Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 11:58:51 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        s m <sam.gh1986@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: freebsd8.2 with /etc mount point can't run correctly
Message-ID:  <51A48DEB.1040003@qeng-ho.org>
In-Reply-To: <CAA_1SgEmk_DQXToa=ZtnEU9CD87kwmt%2Bo=vkxbk2c7DnG9F2oQ@mail.gmail.com>
References:  <CAA_1SgEmk_DQXToa=ZtnEU9CD87kwmt%2Bo=vkxbk2c7DnG9F2oQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/28/13 09:27, s m wrote:
> hello all,
>
> i want to install freebsd8.2 with different partitions. i want to have
> a separated partition for /etc. therefore this is my partitions: / ,
> /var, /etc. /tmp, /usr, swap.
>
> but after installing, freebsd can not run correctly and have problem
> with fstab. i checked my fstab file (fstab file in /etc partition) and
> every thing is ok. i think i should do something in order to use fstab
> file in different mount point. is it true? what should i do to have a
> freebsd with a separate /etc mount point?

Generally speaking, a separate /etc partition is A Bad Thing(TM), and a 
sign you're doing things wrong.

However, nanobsd does (partially) separate /etc out, and it does so 
using /etc/rc.initdiskless and its early (pre-rc) mounting code. Take a 
look at rc.initdiskless and the nanobsd code in

/usr/src/tools/tools/nanobsd/nanobsd.sh

if you really want to go down this route.

-- 
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

		_Lord of the Rings 2.0, the Web Edition_



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