An important note is that each OS script need to setup itself its own chroot environment (like creating /proc...).