From: "Anand Gupta" Subject: Re: need to compile 32bit on x86_64 cpu Date: Thu, 22 Jun 2006 23:38:00 +0530 Message-ID: References: <1150986530.7701.1.camel@localhost.localdomain> <20060622175604.GA28440@nsk.no-ip.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1189510409==" Return-path: In-Reply-To: <20060622175604.GA28440@nsk.no-ip.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Luciano Miguel Ferreira Rocha Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1189510409== Content-Type: multipart/alternative; boundary="----=_Part_1245_18133282.1150999680769" ------=_Part_1245_18133282.1150999680769 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Luciano! On 6/22/06, Luciano Miguel Ferreira Rocha wrote: > > On Thu, Jun 22, 2006 at 11:14:45PM +0530, Anand Gupta wrote: > > IOError: [Errno 2] No such file or directory: '/proc/cpuinfo' > > > > When i try to cat /proc/cpuinfo, it seems it doesn't exist :( > under the chroot: mount /proc > outside: mount -t proc none /path/to/chroot/proc > > (You'll have to unmount it prior to unmounting the image, when you're > finished with it.) > I used the above method and now there is a complete /proc inside the chroot environment. Thanks. -- regards, Anand Gupta ------=_Part_1245_18133282.1150999680769 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Luciano!

On 6/22/06, Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org> wrote:
On Thu, Jun 22, 2006 at 11:14:45PM +0530, Anand Gupta wrote:
> IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
>
> When i try to cat /proc/cpuinfo, it seems it doesn't exist :(
under the chroot: mount /proc
outside: mount -t proc none  /path/to/chroot/proc

(You'll have to unmount it prior to unmounting the image, when you're
finished with it.)

I used the above method and now there is a complete /proc inside the chroot environment.

Thanks.

--
regards,

Anand Gupta ------=_Part_1245_18133282.1150999680769-- --===============1189510409== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1189510409==--