154 |
|
|
155 |
# links for the autoboot bits |
# links for the autoboot bits |
156 |
if [ -f $TOPDESTPATH/dosutils/loadlin.exe ]; then |
if [ -f $TOPDESTPATH/dosutils/loadlin.exe ]; then |
|
@@ -173,7 +184,7 @@ makeBootImages() { |
|
|
|
|
|
# now make a boot pendrive image |
|
|
mkdir -p $TOPDESTPATH/images/fobpath |
|
|
- dd if=/dev/zero of=$TOPDESTPATH/images/diskboot.img bs=1M count=6 2>/dev/null |
|
|
+ dd if=/dev/zero of=$TOPDESTPATH/images/diskboot.img bs=1M count=12 2>/dev/null |
|
|
mkdosfs $TOPDESTPATH/images/diskboot.img |
|
|
$SYSLINUX $TOPDESTPATH/images/diskboot.img |
|
|
mount -o loop $TOPDESTPATH/images/diskboot.img $TOPDESTPATH/images/fobpath |
|
157 |
@@ -183,7 +194,20 @@ makeBootImages() { |
@@ -183,7 +194,20 @@ makeBootImages() { |
158 |
umount -f $TOPDESTPATH/images/fobpath |
umount -f $TOPDESTPATH/images/fobpath |
159 |
rmdir $TOPDESTPATH/images/fobpath |
rmdir $TOPDESTPATH/images/fobpath |