From owner-freebsd-questions@FreeBSD.ORG Wed Aug 11 16:00:47 2004 Return-Path: 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 D187816A4CE for ; Wed, 11 Aug 2004 16:00:47 +0000 (GMT) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4859943D39 for ; Wed, 11 Aug 2004 16:00:47 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from gicco.homeip.net (80-218-73-163.dclient.hispeed.ch [80.218.73.163])i7BG0jUI006083 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 11 Aug 2004 18:00:46 +0200 Received: from localhost.here (idefix@gicco.homeip.net [127.0.0.1]) by gicco.homeip.net (8.12.8p2/8.12.8) with ESMTP id i7BG0j5A001951 for ; Wed, 11 Aug 2004 18:00:45 +0200 (CEST) (envelope-from hampi@rootshell.be) Received: (from idefix@localhost) by localhost.here (8.12.8p2/8.12.8/Submit) id i7BG0jOs001950 for freebsd-questions@freebsd.org; Wed, 11 Aug 2004 18:00:45 +0200 (CEST) X-Authentication-Warning: localhost.here: idefix set sender to hampi@rootshell.be using -f Date: Wed, 11 Aug 2004 18:00:45 +0200 From: Hanspeter Roth To: freebsd-questions@freebsd.org Message-ID: <20040811160045.GA1800@gicco.homeip.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20040811151539.GA1658@gicco.homeip.net> <20040811112512.57403402.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040811112512.57403402.wmoran@potentialtech.com> User-Agent: Mutt/1.4.1i Subject: Re: FreeBSD 5, chroot and /dev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 16:00:47 -0000 On Aug 11 at 11:25, Bill Moran spoke: > Hanspeter Roth wrote: > > > What is the recommended way to create the device nodes in /dev in a > > chroot environment? > > This isn't a direct answer to your question, but it should help you > work around your problem. > > After booting the CD, look in the /boot directory on the HDD. If you > move the contents of /boot/kernel.old to /boot/kernel, you'll have > restored your previous kernel, and can then reboot off the HDD to > attempt to build a working kernel again. Ok. Thanks. I have now created /mnt/ufs.1/dev/fd/[012] by mknod and the links /mnt/ufs.1/dev/std{err,in,out}. Another build is now in progress which has come further than the first one. If this fails too I'll move /boot/kernel.old to /boot/kernel. Thanks. -Hanspeter