FreeBSD 5, chroot and /dev
hampi at rootshell.be
Wed Aug 11 09:00:47 PDT 2004
On Aug 11 at 11:25, Bill Moran spoke:
> Hanspeter Roth <hampi at 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.
I have now created /mnt/ufs.1/dev/fd/ by mknod and the links
Another build is now in progress which has come further than the
If this fails too I'll move /boot/kernel.old to /boot/kernel.
More information about the freebsd-questions