After starting bootstrap-prefix first fails to fetch zlib-1.2.5.tar.gz, as this file is not in http://distfiles.gentoo.org/distfiles/. It then proceeds by fetching zlib-1.2.6.tar.bz2, but returns the error: ./bootstrap-prefix.sh: line 813: ./configure: Permission denied The full log is: Type here what you want to wish me [luck] luck * Bootstrapping Gentoo prefixed portage installation using * host: x86_64-pc-linux-gnu * prefix: /run/media/3644-7440/gentoo/tmp * ready to bootstrap stage1 * Bootstrapping zlib * Fetching zlib-1.2.7.tar.bz2 --2013-06-08 10:05:52-- http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.bz2 Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 156.56.247.195, 64.50.236.52, 216.165.129.135, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|156.56.247.195|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-06-08 10:05:52 ERROR 404: Not Found. !!! downloading http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.bz2 failed! * Bootstrapping zlib * Fetching zlib-1.2.6.tar.bz2 --2013-06-08 10:05:52-- http://distfiles.gentoo.org/distfiles/zlib-1.2.6.tar.bz2 Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, 216.165.129.135, 140.211.166.134, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 501388 (490K) [application/x-bzip2] Saving to: `zlib-1.2.6.tar.bz2' 100%[=========================================================================================>] 501,388 548K/s in 0.9s 2013-06-08 10:05:53 (548 KB/s) - `zlib-1.2.6.tar.bz2' saved [501388/501388] * Unpacking zlib * Compiling zlib ./bootstrap-prefix.sh: line 813: ./configure: Permission denied * Bootstrapping zlib * Fetching zlib-1.2.5.tar.bz2 --2013-06-08 10:05:53-- http://distfiles.gentoo.org/distfiles/zlib-1.2.5.tar.bz2 Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 216.165.129.135, 140.211.166.134, 64.50.233.100, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|216.165.129.135|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 486374 (475K) [application/x-bzip2] Saving to: `zlib-1.2.5.tar.bz2' 100%[=========================================================================================>] 486,374 314K/s in 1.5s 2013-06-08 10:05:55 (314 KB/s) - `zlib-1.2.5.tar.bz2' saved [486374/486374] * Unpacking zlib * Compiling zlib ./bootstrap-prefix.sh: line 813: ./configure: Permission denied I tried running /bin/bash ./bootstrap-prefix.sh "/run/media/3644-7440/gentoo/tmp" stage1 but that failed :( I have no clue, really. Please find friendly folks in #gentoo-prefix on irc.gentoo.org, gentoo-alt@lists.gentoo.org mailing list, or file a bug at bugs.gentoo.org under Gentoo/Alt, Prefix Support. Sorry that I have failed you master. I shall now return to my humble cave. Now running ./bootstrap-prefix.sh "/run/media/3644-7440/gentoo/tmp" stage1 yields: * Bootstrapping Gentoo prefixed portage installation using * host: x86_64-pc-linux-gnu * prefix: /run/media/3644-7440/gentoo/tmp * ready to bootstrap stage1 * Bootstrapping zlib * Fetching zlib-1.2.7.tar.bz2 --2013-06-08 11:13:57-- http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.bz2 Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 64.50.236.52, 216.165.129.135, 140.211.166.134, ... Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-06-08 11:13:57 ERROR 404: Not Found. !!! downloading http://distfiles.gentoo.org/distfiles/zlib-1.2.7.tar.bz2 failed! * Bootstrapping zlib * Unpacking zlib * Compiling zlib ./bootstrap-prefix.sh: line 814: ./configure: Permission denied * Bootstrapping zlib * Unpacking zlib * Compiling zlib ./bootstrap-prefix.sh: line 814: ./configure: Permission denied
What filesystem are you doing this on? Feels like a fs mounted without execution privileges. (noexec)