Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Debian Linux in Chroot

From: koffiejunkie <koffiejunkielistlurker(at)koffiejunkie.za.net>
Date: Tue Jul 31 2007 - 07:15:33 EDT


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?
>

Say you are booted into Linux1, and linux 2 is mounted at /linux2, you need to do this (assuming they are both recent distrobutions):

mount -t proc proc /linux2/proc
chroot /linux2

then inside the chroot, whatever you do should not disturb what's cooking in Linux-1

Remember to unmount proc from Linux-2 after leaving the chroot.

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Jul 31 07:16:17 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:34:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library