Chan, Dominic wrote:
Why when I am in chroot I want to use /root and not /mnt/sysimage/root? I want to copy the file to the real /root
When you are in %post, you are in a chroot environment. chroot stands for 'change root', thus you have changed root to /mnt/sysimage, and that is your /. Your real /root will be in /root.
In the %post --nochroot environment, you see the directory structure just as you see it in VT2, thus your real /root will be in /mnt/sysimage/root.
Forrest