Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Peter Humphrey <prh@...>
Subject: Re: chroot howto?
Date: Wed, 13 Jul 2005 11:55:17 +0100
Barry.SCHWARTZ@... wrote:

>Peter Humphrey <prh@...> 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@g.o mailing list


References:
chroot howto?
-- Peter Humphrey
Re: chroot howto?
-- Barry . SCHWARTZ
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: chroot howto?
Next by thread:
tar/bzip2 not working in chroot
Previous by date:
Re: chroot howto?
Next by date:
Re: tar/bzip2 not working in chroot


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.