chroot using busybox -
i facing problem performing chroot using busybox. descriptio: create sparse file of 1gb , formatted ext3 filesystem. mounted directory loop device on /mnt/busybox, created bin directory , copied busybox under bin , under /mnt/busybox executed ln -s bin/busybox bin/ls. when tried running
chroot /mnt/busybox bin/busybox ls chroot: cannot run command `bin/busybox': permission denied
even though m in root, , when checked stack trace, found chroot("/mnt/busybox") returned 0 execve("bin/busybox", ["bin/busybox", "ls"], [/* 24 vars */]) = -1 eacces (permission denied) failed. prob , how solve it?
thanks
Comments
Post a Comment