diff options
-rwxr-xr-x | 3_configure.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3_configure.sh b/3_configure.sh index e8084e7..c88ca2a 100755 --- a/3_configure.sh +++ b/3_configure.sh @@ -16,7 +16,7 @@ set -e if [ "$MBR" = "yes" ]; then [ "$MBR" = "yes" ] && install-mbr "$usbdev_host" # [ -n "$syslinuxdev_host" ] && syslinux "$bootdev_host" - [ -n "$syslinuxdev_host" ] && makebootfat -o "$syslinuxdev_host" -X -P -b /usr/lib/syslinux/ldlinux.bss -c /usr/lib/syslinux/ldlinux.sys "$targettemp_fat" + [ -n "$syslinuxdev_host" ] && makebootfat -o "$syslinuxdev_host" -Y -P -b /usr/lib/syslinux/ldlinux.bss -c /usr/lib/syslinux/ldlinux.sys "$targettemp_fat" [ -n "$grubdev_host" ] && echo -e "root ($grubdev_grub)\nsetup ($grubdev_grub)" | grub --batch --device-map="$baseworkdir/grub_host_device.map" elif [ -n "$grubdev_host" ]; then echo -e "root ($grubdev_grub)\nsetup ($usbdev_grub)" | grub --batch --device-map="$baseworkdir/grub_host_device.map" @@ -25,11 +25,11 @@ elif [ -n "$syslinuxdev_host" ] && [ "$ROOTFS" = "ext2" ]; then elif [ -n "$syslinuxdev_host" ] && [ "$ROOTFS" = "dos" ]; then # This should make sticks be recognized as both USB-FDD and USB-HDD. # (VIA EPIA mobos will boot only as USB-ZIP, however :-( ) - makebootfat -o "$usbdev_host" -X -D -b /usr/lib/syslinux/ldlinux.bss -m /usr/lib/makebootfat/mbrfat.bin -F -c /usr/lib/syslinux/ldlinux.sys "$targettemp_isofs" + makebootfat -o "$usbdev_host" -Y -Z -D -b /usr/lib/syslinux/ldlinux.bss -m /usr/lib/makebootfat/mbrfat.bin -F -c /usr/lib/syslinux/ldlinux.sys "$targettemp_isofs" elif [ -n "$syslinuxdev_host" ] && [ "$ROOTFS" = "iso" ]; then # This should make sticks be recognized as both USB-FDD and USB-HDD. # (VIA EPIA mobos will boot only as USB-ZIP, however :-( ) - makebootfat -o "$usbdev_host" -X -D -b /usr/lib/syslinux/ldlinux.bss -m /usr/lib/makebootfat/mbrfat.bin -F -c /usr/lib/syslinux/ldlinux.sys "$targettemp_isofs" + makebootfat -o "$usbdev_host" -Y -Z -D -b /usr/lib/syslinux/ldlinux.bss -m /usr/lib/makebootfat/mbrfat.bin -F -c /usr/lib/syslinux/ldlinux.sys "$targettemp_isofs" else echo "WARNING: Sorry: don't know how to handle this choice of bootloaders." >&2 exit 1 |