clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Nov. 16 2005,14:19 |
|
My guess is that your source/knoppix directory was empty.
I use chroot for remastering. Normally I'll create a /home/dsl/sources directory (because I have enough memory) and copy /KNOPPIX into it. I become root with sudo su and then run the following script to create the directories:
Code Sample | #!/bin/bash mkdir source mkdir newcd mkdir newcd/KNOPPIX cp -Rp /cdrom/boot newcd cp -Rp /cdrom/lost+found newcd cp -p /cdrom/index.html newcd cp -Rp /KNOPPIX source |
Copy any files you need (dpkg.dsl or whatever) into the source/KNOPPIX directory so you can reach them after the chroot command.
Then (still as root) I'll run chroot /source/KNOPPIX and that works for me. When you're done, type <CNTRL>D or type exit to exit the chroot.
|