1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Peter Humphrey wrote: |
5 |
> I have no problem chrooting into a system on the hard disk if I've booted |
6 |
> from an installation CD, but every time I try it after booting from another |
7 |
> HD partition I get e.g. this: |
8 |
> |
9 |
> # chroot /mnt/rescue /bin/bash |
10 |
> chroot: cannot run command `/bin/bash': Permission denied |
11 |
> |
12 |
> Ls shows the same permissions in each case, and I always make sure to: |
13 |
> |
14 |
> # cd /mnt/rescue |
15 |
> # mount -tproc proc proc |
16 |
> # mount -obind /dev dev |
17 |
> |
18 |
> ...first. |
19 |
> |
20 |
> What am I doing wrong? |
21 |
> |
22 |
Only for verification, have you under /mnt/rescue /bin/bash? |
23 |
Or with other words have this /mnt/rescue/bin/bash? |
24 |
And with the appropriate permissions? |
25 |
|
26 |
W. Canis |
27 |
|
28 |
-----BEGIN PGP SIGNATURE----- |
29 |
Version: GnuPG v2.0.9 (GNU/Linux) |
30 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
31 |
|
32 |
iEYEARECAAYFAkg+eZ0ACgkQKT9zBKF0twWTtwCdHIkXGHwaas50Zy2leKo5g6iU |
33 |
gP8AnRuiWCgemE/GFja4RaduEfcWp/9g |
34 |
=hplz |
35 |
-----END PGP SIGNATURE----- |
36 |
-- |
37 |
gentoo-user@l.g.o mailing list |