Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chroot problem
Date: Thu, 29 May 2008 09:28:52
Message-Id: 200805291128.40315.dirk.heinrichs.ext@nsn.com
In Reply to: [gentoo-user] chroot problem by Peter Humphrey
1 Am Donnerstag, 29. Mai 2008 schrieb ext Peter Humphrey:
2 > I have no problem chrooting into a system on the hard disk if I've booted
3 > from an installation CD, but every time I try it after booting from
4 > another HD partition I get e.g. this:
5 >
6 > # chroot /mnt/rescue /bin/bash
7 > chroot: cannot run command `/bin/bash': Permission denied
8 >
9 > Ls shows the same permissions in each case, and I always make sure to:
10 >
11 > # cd /mnt/rescue
12 > # mount -tproc proc proc
13 > # mount -obind /dev dev
14 >
15 > ...first.
16 >
17 > What am I doing wrong?
18
19 Just a wild guess: /mnt/rescue mounted with noexec?
20
21 Bye...
22
23 Dirk
24 --
25 Dirk Heinrichs | Tel: +49 (0)162 234 3408
26 Configuration Manager | Fax: +49 (0)211 47068 111
27 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
28 Wanheimerstraße 68 | Web: http://www.capgemini.com
29 D-40468 Düsseldorf | ICQ#: 110037733
30 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] chroot problem Peter Humphrey <peter@××××××××××××××.org>