[gentoo-user] Can I chroot to a folder?

2013-03-18 Thread João Matos
Hi list, I want to install a samba server using Gentoo. But I decided to start the installation o my machine and make a stage4 at some folder. The idea is to spent less time at the target machine. But, when I try to chroot, I get the error: chroot: failed to run command '/bin/bash': Permission

Re: [gentoo-user] Can I chroot to a folder?

2013-03-18 Thread Volker Armin Hemmann
Am 18.03.2013 19:43, schrieb João Matos: Do I need to create a partition just for this? no

Re: [gentoo-user] Can I chroot to a folder?

2013-03-18 Thread Paul Hartman
On Mon, Mar 18, 2013 at 1:43 PM, João Matos jaon...@gmail.com wrote: Hi list, I want to install a samba server using Gentoo. But I decided to start the installation o my machine and make a stage4 at some folder. The idea is to spent less time at the target machine. But, when I try to

Re: [gentoo-user] Can I chroot to a folder?

2013-03-18 Thread João Matos
2013/3/18 Paul Hartman paul.hartman+gen...@gmail.com On Mon, Mar 18, 2013 at 1:43 PM, João Matos jaon...@gmail.com wrote: Hi list, I want to install a samba server using Gentoo. But I decided to start the installation o my machine and make a stage4 at some folder. The idea is to spent

Re: [Bulk] Re: [gentoo-user] Can I chroot to a folder?

2013-03-18 Thread Kevin Chadwick
Is that partition mounted with noexec option? or user option without explicit exec option? problem solved :) You know you can bind mount just the directories you want with exec but as interpreters don't check this mount option, it's not as effective as it could be ;-( --