Gentoo Archives: gentoo-user

From: "João Matos" <jaoneto@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can I chroot to a folder?
Date: Mon, 18 Mar 2013 20:27:33
Message-Id: CAP4tJZK7wyVANuGP1gki3z5t8Dme34Vrc-NL=Gn7ae3CU6owQg@mail.gmail.com
In Reply to: Re: [gentoo-user] Can I chroot to a folder? by Paul Hartman
1 2013/3/18 Paul Hartman <paul.hartman+gentoo@×××××.com>
2
3 > On Mon, Mar 18, 2013 at 1:43 PM, João Matos <jaoneto@×××××.com> wrote:
4 > > Hi list,
5 > >
6 > > I want to install a samba server using Gentoo. But I decided to start the
7 > > installation o my machine and make a stage4 at some folder. The idea is
8 > to
9 > > spent less time at the target machine.
10 > >
11 > > But, when I try to chroot, I get the error:
12 > >
13 > > "chroot: failed to run command '/bin/bash': Permission Denied"
14 > >
15 > > the permitions are ok:
16 > >
17 > > ls -l /media/outro/gentoo/bin/bash
18 > > -rwxr-xr-x 1 root root 737808 Jan 30 02:55 /media/outro/gentoo/bin/bash
19 >
20 > Is that partition mounted with "noexec" option? or "user" option
21 > without explicit "exec" option?
22 >
23
24 problem solved :)
25
26 >
27 > > Do I need to create a partition just for this?
28 >
29 > Nope
30 >
31 >
32
33
34 --
35 João de Matos
36 Linux User #461527
37 Graduando em Engenharia de Computação 2005.1
38 UEFS - Universidade Estadual de Feira de Santana

Replies

Subject Author
Re: [Bulk] Re: [gentoo-user] Can I chroot to a folder? Kevin Chadwick <ma1l1ists@××××××××.uk>