Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2006 19:18:23 +0400
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        backyard <backyard1454-bsd@yahoo.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: who do you install freebsd without sysinstall?
Message-ID:  <20060831151823.GE56996@rambler-co.ru>
In-Reply-To: <20060831145328.12803.qmail@web83113.mail.mud.yahoo.com>
References:  <20060831085225.GF14958@rambler-co.ru> <20060831145328.12803.qmail@web83113.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--nHwqXXcoX0o6fKCv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 31, 2006 at 07:53:28AM -0700, backyard wrote:
> Out of curiosity...
>=20
> So If I made a custom boot cd I could boot a dead box,
> setup the drives and slices, CVSUP the system I want
> to build, tweak the build environment for the proper
> temporary build locations and build a system from
> source and install that system to the now live box,
> boot it and be done?
>=20
Basically yes.  When booting from CD though, I'll have
to mdconfig(8) and re-mount at least /tmp, maybe /var
as well.

> also along these lines how do I make the system allow
> me to seed the entropy engine? Usually after an
> install it asks to fill in a screen full of junk, but
> with a custom install it doesn't do this for me, at
> least not the last time I tried. Just curious,
> especially if I attempt the above procedure.
>=20
Well, it does this only if the below conditions are
met:

1) You have enabled sshd(8) in sysinstall(8), so it's
   enabled in /etc/rc.conf.

2) This is the first boot, /etc/rc.d/sshd needs to
   generate new SSH keys but random(4) hasn't been
   seeded yet.   (random(4) is seeded by the /random
   and /var/db/random/* files.)

So, if you did a custom install and then rebooted for
the first time, but did not yet enable sshd(8), the
cron(8) will save some entropy, so the time you need
it to generate SSH keys there will already be some
entropy available.

But if you absolutely need to reseed manually, boot
into single-user mode, and type

	rm /entropy /var/db/entropy/*

Then proceed with normal booting.  If sshd(8) is
enabled, it will ask you to enter some entropy.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--nHwqXXcoX0o6fKCv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE9v2/qRfpzJluFF4RAogsAJ90i80IWj749Lx/a5KcjWfeCu7/ggCdEpb+
CtfFjC9RR+vaeM5l3Y/6ej0=
=/Cmh
-----END PGP SIGNATURE-----

--nHwqXXcoX0o6fKCv--



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