Gentoo Archives: gentoo-user

From: Justin <justin@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chroot problem
Date: Thu, 29 May 2008 09:21:27
Message-Id: 483E758B.7090803@j-schmitz.net
In Reply to: [gentoo-user] chroot problem by Peter Humphrey
1 Peter Humphrey schrieb:
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 another
4 > 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 >
20
21 # cd /mnt/rescue
22 # mount -t proc proc proc
23 # mount -o bind /dev dev
24
25
26 You forgot some spaces!

Attachments

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

Replies

Subject Author
Re: [gentoo-user] chroot problem Dirk Heinrichs <dirk.heinrichs.ext@×××.com>