3 # Generate a legacy floppy emulation ISO boot image
5 # genliso foo.liso foo.lkrn
7 # the ISO image is the first argument so that a list of .lkrn images
8 # to include can be specified
19 echo Usage: $0 foo.liso foo.lkrn ...
24 Mtools\ version\ 3.9.9*|Mtools\ version\ 3.9.1[0-9]*|Mtools\ version\ 4.*)
27 echo Mtools version 3.9.9 or later is required
43 mformat -f 1440 -C -i $img ::
46 # These default options can be changed in the genliso script
47 SAY Etherboot ISO boot image generated by genliso
55 echo $f does not exist, skipping 1>&2
58 # shorten name for 8.3 filesystem
71 mcopy -m -i $img $f ::$g
73 mcopy -i $img $cfg ::syslinux.cfg
82 mkisofs -o $out -c boot.cat -b boot.img $dir