chroot: cannot run command

Henning Sprang henning at sprang.de
Thu Apr 16 17:02:59 CEST 2009


Julien Vermet wrote:
> Hello
> 
> I have an error from yesterday, and I can't find any answer a this
> problem. After the "fai-setup", I have a lot of "chroot: cannot run
> command" errors. I think I configured all configuration files as
> described in  the documentation. Here is the log :
> 
> "fai-setup
> Creating FAI nfsroot in /usr/fai/nfsroot/live/filesystem.dir.
> By default it needs more than 390 MBytes disk space.
> This may take a long time.
> Creating base system using debootstrap version 1.0.10lenny1
> Calling debootstrap lenny /usr/fai/nfsroot/live/filesystem.dir
> http://miroir.dsi.damgm.i2/debian
> chroot: cannot run command `apt-get': No such file or directory


I think this is a sign tthat deboostrap failed!
(which by the way is a, IMHO heavy bug in FAI that it tries to continue
when debootrap failed! I stumbled on this some times, but always forget
to file a bug for it! Will do now)

Can you run the deboostrap command above manually?

Henning



More information about the linux-fai mailing list