From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 15:24:46 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7001716A504 for ; Thu, 31 Aug 2006 15:24:46 +0000 (UTC) (envelope-from backyard1454-bsd@yahoo.com) Received: from web83105.mail.mud.yahoo.com (web83105.mail.mud.yahoo.com [216.252.101.34]) by mx1.FreeBSD.org (Postfix) with SMTP id C237E43D92 for ; Thu, 31 Aug 2006 15:24:45 +0000 (GMT) (envelope-from backyard1454-bsd@yahoo.com) Received: (qmail 21663 invoked by uid 60001); 31 Aug 2006 15:24:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aLDzmmdijsstPinn9p5vzT+JIdBly/KENPAsljr1h2E3eapVbHZYyyWA/9OaMJQNCGr0ghqDNbOE6WjytDarK1ZuXhoBTeFM6DIhi544sp9U6l3G+OZSulEi+tYOxIn8acsmGKPoz5DtDtar2Nyuf7EuA7FYzUbzdb2QMlu4vv0= ; Message-ID: <20060831152445.21661.qmail@web83105.mail.mud.yahoo.com> Received: from [63.240.228.37] by web83105.mail.mud.yahoo.com via HTTP; Thu, 31 Aug 2006 08:24:45 PDT Date: Thu, 31 Aug 2006 08:24:45 -0700 (PDT) From: backyard To: Ruslan Ermilov , backyard In-Reply-To: <20060831151823.GE56996@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@FreeBSD.org Subject: Re: who do you install freebsd without sysinstall? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: backyard1454-bsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 15:24:46 -0000 --- Ruslan Ermilov wrote: > On Thu, Aug 31, 2006 at 07:53:28AM -0700, backyard > wrote: > > Out of curiosity... > > > > 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? > > > 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. > > > 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, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer > ok, I figured it was something simple enough like that... how does cron save entropy??? I've noticed "saving entropy files" at shutdown but have always wondered what it is using. or does it just read from /dev/random? -brian