I have mounted a root filesystem (debian 4.0) to /mnt/new-image/.
I am trying to understand if I can install new software/packages to this root filesystem mounted at this location (/mnt/new-image). If I am allowed to do this, how/where do I specify the installation path so that the installed files are in the mounted partition itself?
Also, when I unmount this image after installing additional packages, I am assuming that the changes are automatically saved to the original image. Hopefully this is the way it works
Please advise on this.
BTW, The host system is running Debian too.
Your suggestions are much appreciated.