Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a few questions about chroot:

  1. What are the minimum requirements for chroot? Can you chroot into another Unix OS that has /bin/bash in it?
  2. Is it possible for the chroot to run in other architectures besides the host OS?
  3. Will bash_profile be executed before the new chrooted environment starts?
share|improve this question
up vote 0 down vote accepted
  1. No (*)
  2. No (*)
  3. No - bash_profile is loaded by bash and therefore inside the chroot

(*) You can chroot from one variant of Linux to another, and you can chroot from FreeBSD to a Linux chroot provided you have the required linux personality support. The opposite is not possible. Not sure about Solaris and other more obscure unices.

(*) You obviously cannot change the architecture - how could you? Your CPU cannot execute other CPU instruction sets without an emulation layer (a virtual machine for example). What you can do is switch from 64-bit to 32-bit personality with:

linux32 chroot /path/to/32bitchroot
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.