udev in chroot

Bryan Kadzban bryan at kadzban.is-a-geek.net
Thu Jan 24 17:10:20 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Jacek Herold wrote:
> I'm trying to change to the chroot environment. When starting udev 
> (in the chroot environment) i have the following error:

The book doesn't start udev in the chroot environment (...does it?), for
exactly this reason.  I'm surprised it worked at all with earlier
kernels -- although I would suspect that it may have worked with earlier
udev versions.

(This is something we still need to figure out regarding the udev
persistent-net support, too: writing the udev rules doesn't work anymore
unless udev is running, and it's never running until after the target
system boots.  That's too late to generate the rules, because the user
has to configure the NIC in chapter 7.)

Unless earlier book versions ever started udev inside chroot?  I don't
think so, but they might have...

(If you want udev to manage your /dev while you're in chroot, you can
bind-mount the host's /dev and use its udev, instead of running two udev
processes.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmTb7S5vET1Wea5wRA7evAKCA9Vtv9bbFcVf3rCv4HwOogrFH0ACgqB2R
Jg2JYiDWxZeHpuXXTYhaf/s=
=rPEE
-----END PGP SIGNATURE-----



More information about the lfs-dev mailing list