Gentoo Archives: gentoo-user

From: "João Matos" <jaoneto@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Can I chroot to a folder?
Date: Mon, 18 Mar 2013 18:43:45
Message-Id: CAP4tJZLO6YRF4v+2CPuP50iT33hirtZRdMYwiU8DPn-cgYJp7w@mail.gmail.com
1 Hi list,
2
3 I want to install a samba server using Gentoo. But I decided to start the
4 installation o my machine and make a stage4 at some folder. The idea is to
5 spent less time at the target machine.
6
7 But, when I try to chroot, I get the error:
8
9 "chroot: failed to run command '/bin/bash': Permission Denied"
10
11 the permitions are ok:
12
13 ls -l /media/outro/gentoo/bin/bash
14 -rwxr-xr-x 1 root root 737808 Jan 30 02:55 /media/outro/gentoo/bin/bash
15
16 Do I need to create a partition just for this?
17
18 Thank you,
19
20 --
21 João de Matos
22 Linux User #461527

Replies

Subject Author
Re: [gentoo-user] Can I chroot to a folder? Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Can I chroot to a folder? Paul Hartman <paul.hartman+gentoo@×××××.com>