[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    Re: /etc on separate partition
From:       Dave Feustel <dfeustel () mindspring ! com>
Date:       2002-11-01 19:37:39
[Download RAW message or body]

On Friday 01 November 2002 02:22 pm, Chuck Yerkes wrote:
> Quoting Tim Donahue (TDonahue@haynesconstruction.com):
> > I put /etc on a separate partition while I was doing a new install of
> > 3.2, and now I can't boot.  The startup can't find any of the config
> > files (/etc/login.conf and /etc/rc seem to be the ones that it is
> > complaining about the most) in the /etc folder.  Is this as bad an idea
> > as it is seems now, and more importatly, is there any way to fix this
> > short of
> > reinstalling?
>
> Boot up consists of getting boot blocks and what not (varies per
> architecture, easier on real machines with boot proms, work on
> machines that were designed to run DOS and only have a BIOS).
>
> Either way, it gets the kernel loaded and the kernel can see the
> root partitition (/).  It starts init(8) which starts rc.
>
> At some point, these processes would want to mount your /etc/ partition.
> Information needed for that is in /etc/fstab.
> Which is in /etc/.
>
> Do you see the problem?
>
> Now, *why* do you want /etc/ on a separate partition?

see http://seifried.org/oag/advanced-filesystem/

How much would be broken if fstab were placed (or copied)
elsewhere so that the kernel could mount /etc during boot?

-- 
Dave Feustel
http://www.mindspring.com/~dfeustel/recentactivities.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic