rendered paste bodykaranattu:/home/shyam# chroot /media/usbdisk-1
chroot: cannot run command `/bin/bash': No such file or directory
karanattu:/home/shyam# strace -f chroot /media/usbdisk-1
execve("/usr/sbin/chroot", ["chroot", "/media/usbdisk-1"], [/* 28 vars */]) = 0
uname({sys="Linux", node="karanattu", ...}) = 0
brk(0) = 0x804c000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 f96000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44807, ...}) = 0
mmap2(NULL, 44807, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f8b000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241392, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb 7e5a000
mmap2(0xb7f81000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI TE, 3, 0x127) = 0xb7f81000
mmap2(0xb7f88000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMO US, -1, 0) = 0xb7f88000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7 e59000
mprotect(0xb7f81000, 20480, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e598e0, limit:1048575, seg_ 32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea ble:1}) = 0
munmap(0xb7f8b000, 44807) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1209776, ...}) = 0
mmap2(NULL, 1209776, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d31000
close(3) = 0
brk(0) = 0x804c000
brk(0x806d000) = 0x806d000
chroot("/media/usbdisk-1") = 0
chdir("/") = 0
execve("/bin/bash", ["/bin/bash", "-i"], [/* 28 vars */]) = -1 ENOENT (No such f ile or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or di rectory)
open("/usr/share/locale/ml_IN/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT ( No such file or directory)
open("/usr/share/locale/ml/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "chroot: ", 8chroot: ) = 8
write(2, "cannot run command `/bin/bash\'", 30cannot run command `/bin/bash') = 30
open("/usr/share/locale/ml_IN/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No su ch file or directory)
open("/usr/share/locale/ml/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": No such file or directory", 27: No such file or directory) = 27
write(2, "\n", 1
) = 1
close(1) = 0
exit_group(127) = ?
Process 5722 detached
karanattu:/home/shyam#