On Tue, Jul 31, 2007 at 02:31:07PM +0530, Masatran, R. Deepak wrote: > I have two Linux installations in my hard drive, and I want to modify > Linux-2 from Linux-1, using Chroot. Basically "dpkg-reconfigure" and similar > stuff. How do I tell DPKG of Linux-2 to not disturb the daemons that are > running in Linux-1?
The easiest way is to, on Linux-1, install schroot. Then tell schroot how to access the chroot. It then takes care of mounting anything required. For example, on my amd64, I have an i386 chroot installed under /srv/chroot, and here's my schroot.conf: [etch-ia32] type=directory description=Debian Etch ia32 groups=ssh run-setup-scripts=true run-exec-scripts=true personality=linux32 location=/srv/chroot/etch-ia32 The groups=ssh is a security feature; only people who I trust to run ssh can run schroot. I generally schroot into the chroot and then run the command. To do so its just: $ schroot -pc etch-ia32 The -p means to bring in my environment: usefull if I want to run an X app. The -c is telling schroot which chroot to use. I understand that your chroot in this case is also a fully bootable instalation on its own, with its own kernel. However, that kernel and its daemons will not run under a chroot, only when it is booted. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]