From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dsevr-0003kY-FX for garchives@archives.gentoo.org; Wed, 13 Jul 2005 10:57:40 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6DAsHvp032505; Wed, 13 Jul 2005 10:54:17 GMT Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6DAsHsS009720 for ; Wed, 13 Jul 2005 10:54:17 GMT Received: from gaia.prhnet (unknown [84.12.164.30]) by smtp.nildram.co.uk (Postfix) with ESMTP id E5DAB2538E2 for ; Wed, 13 Jul 2005 11:55:15 +0100 (BST) Received: from [192.168.129.25] (wstn.home [192.168.129.25]) by gaia.prhnet (Postfix) with ESMTP id C78F1122B8 for ; Wed, 13 Jul 2005 11:55:18 +0100 (BST) Message-ID: <42D4F315.1080408@gotadsl.co.uk> Date: Wed, 13 Jul 2005 11:55:17 +0100 From: Peter Humphrey User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050704) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] chroot howto? References: <42D4D8F4.2050007@gotadsl.co.uk> <20050713100551.GA8904@crud.crud.mn.org> In-Reply-To: <20050713100551.GA8904@crud.crud.mn.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: d29e335a-5a09-4f94-b515-e4d08b257efd X-Archives-Hash: b717ec93c3cb6995cf261bd27dad1d29 Barry.SCHWARTZ@chemoelectric.org wrote: >Peter Humphrey wrote: > > >>I unpacked an x86 stage 3, and set up hosts, networks and users as >>instructed, but when I tried "linux32 chroot /mnt/gentoo32 /bin/bash" I >>got a permission-refused error on /bin/bash. (I tried both with and >>without --login; it made no difference.) >> >> > >Did you do this as root? > > Yes, and as myself which gave a slightly different error msg. >>So I unpacked a portage >>snapshot, rebooted from the installation CD and tried again. I could >>then chroot. I reasoned that /bin/bash could not be executed because >>there was no 32-bit kernel, so I emerged and compiled gentoo-sources in >>/mnt/gentoo32. After that I could chroot from the installed system. >> >> > >You don't need a 32-bit kernel. > Hmm. Then I'll have to solve the problem above. Meanwhile I have the kernel so perhaps I'll keep it pro tem. > For a few things it can be convenient >to have kernel sources present, but I don't remember what things those >are. Cross that bridge if you come to it. > > Ok. < Snip useful scripts - thanks! > >I maintain my chroot as practically another whole system. That's >wasteful but makes some things a lot easier -- even maintenance is >easier with all that waste, because you are letting portage 'think' >for you about what it needs to install. > > Tha's more-or-less what I seem to be doing. -- Rgds Peter Humphrey Linux Counter 5290, Aug 93. -- gentoo-amd64@gentoo.org mailing list