I've copied all files from a KNOPPIX CD that a tutorial called for.
I'm on Section 14.
http://www.knoppix.net/wiki/Knoppix_Remastering_Howto
I am using the following wiki @
http://www.knoppix.net/wiki/Knoppix_...or_Remastering
To remaster Knoppix v. 5.0.1
I have setup a Debian Sarge host system where I will do most of the remastering. This system is stable and running fine.
I have followed the instructions without incident up until the point, where I get an error in
Section 14.
"# Now you can "chroot" into the copied KNOPPIX"
miked@ddevbox:/mnt/knx/source/KNOPPIX$ is my path
When I run chroot, I get this error:
ddevbox:/mnt/knx/source# chroot /mnt/knx/source/KNOPPIX
chroot: cannot run command `/bin/bash': No such file or directory
To troubleshoot, I followed
http://poornam.com/articles_troubleshooting.php
I have tried to see if my libraries were setup correctly:
Code:
ddevbox:/home# ldd /bin/bash
libncurses.so.5 => /lib/libncurses.so.5 (0x4002a000)
libdl.so.2 => /lib/libdl.so.2 (0x4006b000)
libc.so.6 => /lib/libc.so.6 (0x4006f000)
/lib/ld-linux.so.2 (0x40000000)
ddevbox:/home#
ddevbox:/# ldd bin/bash
libncurses.so.5 => /lib/libncurses.so.5 (0x4002a000)
libdl.so.2 => /lib/libdl.so.2 (0x4006b000)
libc.so.6 => /lib/libc.so.6 (0x4006f000)
/lib/ld-linux.so.2 (0x40000000)
ddevbox:/# ls -l lib/libncurses.so.5
lrwxrwxrwx 1 root root 17 Oct 13 09:08 lib/libncurses.so.5 -> libncurses.so.5.5
ddevbox:/# ls -l lib/libdl.so.2
lrwxrwxrwx 1 root root 14 Oct 13 09:08 lib/libdl.so.2 -> libdl-2.3.6.so
ddevbox:/# ls -l lib/ld-linux.so.2
lrwxrwxrwx 1 root root 11 Oct 13 09:08 lib/ld-linux.so.2 -> ld-2.3.6.so
ddevbox:/#
And I checked on bash:
Code:
ddevbox:/# ls -l bin/bash /bin/bash
-rwxr-xr-x 1 root root 676384 Jul 5 2006 /bin/bash
-rwxr-xr-x 1 root root 676384 Jul 5 2006 bin/bash
ddevbox:/#
Its there!?!?
I am not, sure where else to look / troubleshoot this issue.
Maybe step 13. Copy everything necessary files except the ~700 Mb KNOPPIX file failed for me???
I need to figure out what I have not setup! Any help would be great.