wiki:Tips
Last modified 16 miesięcy ago Last modified on 08/11/11 07:45:15

Advanced Tips for K12Linux

Using Yum in the chroot

  • If your chroot is i386 while host is x86_64, be sure to use setarch i386 chroot /opt/ltsp/i386 to enter the chroot. If you fail to do this, then yum will
  • After entering your chroot, make sure to mount /proc or errors will occur during your yum transaction.
  • Verify that /etc/resolv.conf contains a DNS server accessible from the host since that is where you are using yum.

Erasing the Chroot

  • Make sure everything is unmounted from the chroot before you delete it. Check /proc/mounts to be 100% sure stuff is unmounted, as /etc/mtab can lie to you if something was mounted within the chroot. If ltsp-build-client failed for some reason, check for leftover bind mounts before erasing the wreckage and trying it again. If you are unmounting /proc/ from the chroot, use umount /proc from inside the chroot in order to ensure that you don't accidentally unmount /proc from the host.

OBSOLETE: Pre-built Chroot Downloads