Create FAI NFSroot for i386 arch on amd64 host?

Toni Mueller support-fai at
Thu Nov 26 15:06:57 CET 2009


On Thu, 02.07.2009 at 21:11:47 +0200, Michael Tautschnig <mt at> wrote:
> Adding --arch i386 to FAI_DEBOOTSTRAP_OPTS (of make-fai-nfsroot.conf) should
> suffice (at least this is what we do over here). 

this is also mentioned this way in the wiki:

Unfortunately, it does not work for me:

# fai-setup -C /etc/fai-i386 -v  -r
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/tftpboot/fai/data/logs/.ssh/known_hosts remained unchanged.
/tftpboot/fai/data/logs/.ssh/authorized_keys created.
User account fai set up.
Using configuration files from /etc/fai-i386
Creating FAI nfsroot in /srv/fai/nfsroot-i386/live/filesystem.dir.
By default it needs more than 380 MBytes disk space.
This may take a long time.
Creating base system using debootstrap version 1.0.10lenny1
Calling debootstrap lenny /srv/fai/nfsroot-i386/live/filesystem.dir
I: Retrieving Release
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on
I: Validating adduser
I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
W: Failure trying to run: chroot
/srv/fai/nfsroot-i386/live/filesystem.dir dpkg --force-depends --install var/cache/apt/archives/base-files_5lenny4_i386.deb var/cache/apt/archives/base-passwd_3.5.20_i386.deb
ERROR: debootstrap did not complete successfully.
This is mostly caused by a broken mirror.
Please check your mirror or use an official mirror.
dpkg-divert: cannot open diversions: No such file or directory
dpkg-divert: cannot open diversions: No such file or directory

The contents of my make-fai-nfsroot.conf is this, on my amd64 box:

NFSROOT_ETC_HOSTS=" nfsserver"
FAI_DEBOOTSTRAP_OPTS="--exclude=dhcp-client,info --arch i386"

More information about the linux-fai mailing list