PDA

View Full Version : Problems remastering



Sendotux
07-25-2006, 02:55 PM
Before anything, "Hello" :D , this is my first post here :wink:

I was trying to remasterize for first time my Live-cd of knoppix (5.0.1) with an spanish ·how-to· when the console said this when i was trying to use chroot comand on "/mnt/hd2/knx/source/KNOPPIX

* chroot:cannot run command "/bind/bash" : Not such file or directory "

anyone knows what's the problem or what i have done wrong?

with Knoppix 4.0.2 it hadn't said that, but it said other problem so i download 5.0.1 version and tried it.


--> What its exactly chroot? it only changes the main directory?

zemanel
08-06-2006, 06:35 PM
Hi. You must copy everythoing that is in the directory /KNOPPIX/ to the directory to witch you're going to do chroot.
what chroot does is it "chages the relactive directory to witch commands are issued"
the thing is when you chroot you'll need the bash in the /bin/ directory relative to your new root directory so the commands issued can be executed. so what you need to do is:

sudo cp -r /KNOPPIX/* /old_root_dir/.../.../future_root_dir

BEFORE YOU CAN EXECUTE chroot.

eventualy you could also copy the root dir to your new root dir, but the root dir in knoppix has a lot of files symbolic linked, so execute that command and all should work well.