Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 18:00:45 +0200
From:      Hanspeter Roth <hampi@rootshell.be>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5, chroot and /dev
Message-ID:  <20040811160045.GA1800@gicco.homeip.net>
In-Reply-To: <20040811112512.57403402.wmoran@potentialtech.com>
References:  <20040811151539.GA1658@gicco.homeip.net> <20040811112512.57403402.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  On Aug 11 at 11:25, Bill Moran spoke:

> Hanspeter Roth <hampi@rootshell.be> 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



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