[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

chroot-problem



Hello,

I'm running woody with 2.4.17

for some reason I can't get chroot(8) to work. i.e. executing the following command (almost word for word from the info page):

$ mkdir /tmp/empty
$ cp /bin/ls /tmp/empty
$ cd /tmp/empty
$ chroot /tmp/empty /ls /

yields:

chroot: cannot execute /ls: No such file or directory


What am I doing wrong? is there a kernel config I should know about?
Any help will be greatly appreciated

Gil Elad



Reply to: