Hello, today I gave the jessie packages in Debian and fai-cd a try. I had to apply a few fixes to make it work for me: Use the jessie repository for the nfsroot, and some file locations seem to have changed with recent grub.
See attached patch. Best regards, Andi
diff --git a/bin/fai-cd b/bin/fai-cd index 025e354..d0e88b7 100755 --- a/bin/fai-cd +++ b/bin/fai-cd @@ -100,8 +100,9 @@ create_grub2_image() { fi MODULEBASE=$GRUBDIR/usr/lib/grub/ fi + [[ -d $tmp/boot/grub/i386-pc ]] || mkdir $tmp/boot/grub/i386-pc for a in $MODULEBASE/*-pc/{*.mod,efiemu??.o,cdboot.img,boot.img,command.lst,moddep.lst,fs.lst,handler.lst,parttool.lst}; do - [[ -e $a ]] && cp $a $tmp/boot/grub + [[ -e $a ]] && cp $a $tmp/boot/grub/i386-pc/ done rm -rf $GRUBDIR cp $grub_config $tmp/boot/grub/grub.cfg @@ -110,10 +111,10 @@ create_grub2_image() { cp -p $NFSROOT/boot/vmlinuz-$kernelversion $tmp/boot/vmlinuz cp -p $NFSROOT/boot/initrd.img-$kernelversion $tmp/boot/initrd.img cp -p $NFSROOT/boot/config-$kernelversion $tmp/boot/ - cat $tmp/boot/grub/cdboot.img $tmp/boot/grub/core.img > $tmp/boot/grub/eltorito.img + cat $tmp/boot/grub/i386-pc/cdboot.img $tmp/boot/grub/core.img > $tmp/boot/grub/eltorito.img boot_image="boot/grub/eltorito.img" - cat $tmp/boot/grub/boot.img $tmp/boot/grub/core.img > $tmp/boot/grub/embed.img + cat $tmp/boot/grub/i386-pc/boot.img $tmp/boot/grub/core.img > $tmp/boot/grub/embed.img embed_image="$tmp/boot/grub/embed.img" } # - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -219,7 +220,7 @@ create_iso() { addmirror() { [ $nomirror -eq 1 ] && return - + mount --bind $mirrordir $nfsrootdir/media/mirror && echo "Mirror $mirrordir mounted" mount -o remount,ro,bind $nfsrootdir/media/mirror # TODO: customize /etc/apt, copy apt preferences etc. diff --git a/conf/nfsroot.conf b/conf/nfsroot.conf index eaf9301..0e64625 100644 --- a/conf/nfsroot.conf +++ b/conf/nfsroot.conf @@ -1,7 +1,7 @@ # For a detailed description see nfsroot.conf(5) # "<suite> <mirror>" for debootstrap -FAI_DEBOOTSTRAP="wheezy http://http.debian.net/debian" +FAI_DEBOOTSTRAP="jessie http://http.debian.net/debian" FAI_ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1' NFSROOT=/srv/fai/nfsroot