[Fai-commit] r3176 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Mon Dec 12 15:43:37 UTC 2005


Author: lange
Date: 2005-12-12 15:43:36 +0000 (Mon, 12 Dec 2005)
New Revision: 3176

Modified:
   trunk/bin/fai-cd
Log:
add -boot-load-size 4 to mkisofs call, otherwise the CD is not bootable


Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd	2005-12-11 16:19:00 UTC (rev 3175)
+++ trunk/bin/fai-cd	2005-12-12 15:43:36 UTC (rev 3176)
@@ -30,7 +30,7 @@
 #*********************************************************************
 
 set -e 
-version="fai-cd 2.0"
+version="fai-cd 2.0.1"
 
 isoversion="$version -- build $(date '+%c')"
 vname="Fully Automatic Installation CD"
@@ -156,8 +156,7 @@
     mount --bind $tmp1 $NFSROOT/etc/apt/sources.list
     customize_nfsroot
     echo "Writing FAI CD-ROM image to $isoname. This may need some time."
-    mkisofs -V "$vname" -A "$aname" -log-file /dev/null -quiet -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-info-table -c boot.catalog -o $isoname $NFSROOT || die 12 "mkisofs failed." 
-# -boot-load-size 4
+    mkisofs -V "$vname" -A "$aname" -log-file /dev/null -quiet -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -c boot.catalog -o $isoname $NFSROOT || die 12 "mkisofs failed." 
     echo -n "ISO image size and filename: "; du -h $isoname
     rm $tmp1
     unhide_dirs




More information about the Fai-commit mailing list