1 |
Christopher Friedt wrote: |
2 |
> chroot /usr/i686-pc-linux-bionic /bin/sh |
3 |
|
4 |
I chrooted in on x86 without mounting, with mixed results: |
5 |
|
6 |
# chroot /tmp/i686-pc-linux-bionic-20110518 /bin/sh |
7 |
/ # ls |
8 |
Illegal instruction |
9 |
/ # bin/ls |
10 |
bin dev etc lib mnt proc root sbin sys tmp usr var |
11 |
/ # which ls |
12 |
Illegal instruction |
13 |
/ # which |
14 |
BusyBox v1.18.3 (2011-05-08 21:14:36 EDT) multi-call binary. |
15 |
|
16 |
Usage: which [COMMAND]... |
17 |
|
18 |
Locate a COMMAND |
19 |
|
20 |
/ # echo $PATH |
21 |
Illegal instruction |
22 |
x40 tmp # (back out of chroot now; sh crashed) |
23 |
|
24 |
|
25 |
//Peter |