+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/acorn.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/acpi.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/affs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/afs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/amiga.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/aout.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/apple.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ata.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ata_pthru.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/at_keyboard.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/biosdisk.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/bitmap.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/blocklist.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/boot.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/_bsd.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/bsd.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/bufio.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/cat.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/_chain.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/chain.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/cmp.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/configfile.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/cpio.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/cpuid.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/crc.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/datehook.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/date.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/datetime.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/dm_nv.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/drivemap.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/echo.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/efiemu32.o
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/efiemu64.o
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/efiemu.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/elf.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ext2.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/extcmd.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/fat.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/font.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/fshelp.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/fs_uuid.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/gfxterm.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/gpt.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/gptsync.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/gzio.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/halt.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/handler.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/hdparm.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/hello.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/help.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/hexdump.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/hfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/hfsplus.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/iso9660.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/jfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/jpeg.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/linux16.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/_linux.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/linux.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/loadenv.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/loopback.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/lsmmap.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ls.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/lspci.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/lua.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/lvm.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/mdraid.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/memdisk.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/memrw.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/minicmd.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/minix.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/mmap.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/_multiboot.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/multiboot.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/normal.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ntfscomp.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ntfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ohci.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/parttool.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/pci.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/pc.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/pcpart.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/play.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/png.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/pxecmd.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/pxe.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/raid5rec.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/raid6rec.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/raid.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/read.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/reboot.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/reiserfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/scsi.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/search.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/serial.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/setjmp.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/sfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/sh.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/sleep.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/sun.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/tar.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/terminal.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/terminfo.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/test.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/tga.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/udf.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/ufs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/uhci.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/usb_keyboard.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/usb.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/usbms.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/usbtest.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/vbeinfo.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/vbe.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/vbetest.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/vga.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/vga_text.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/video.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/videotest.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/xfs.mod
+grml-live: arch-dependent-file-in-usr-share ./usr/share/grml-live/templates/boot/grub/xnu.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/acorn.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/acpi.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/affs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/afs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/amiga.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/aout.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/apple.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ata.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ata_pthru.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/at_keyboard.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/biosdisk.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/bitmap.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/blocklist.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/boot.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/_bsd.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/bsd.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/bufio.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/cat.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/_chain.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/chain.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/cmp.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/configfile.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/cpio.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/cpuid.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/crc.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/datehook.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/date.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/datetime.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/dm_nv.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/drivemap.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/echo.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/efiemu32.o
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/efiemu64.o
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/efiemu.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/elf.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ext2.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/extcmd.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/fat.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/font.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/fshelp.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/fs_uuid.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/gfxterm.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/gpt.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/gptsync.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/gzio.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/halt.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/handler.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/hdparm.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/hello.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/help.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/hexdump.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/hfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/hfsplus.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/iso9660.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/jfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/jpeg.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/linux16.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/_linux.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/linux.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/loadenv.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/loopback.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/lsmmap.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ls.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/lspci.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/lua.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/lvm.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/mdraid.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/memdisk.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/memrw.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/minicmd.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/minix.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/mmap.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/_multiboot.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/multiboot.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/normal.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ntfscomp.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ntfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ohci.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/parttool.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/pci.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/pc.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/pcpart.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/play.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/png.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/pxecmd.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/pxe.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid5rec.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid6rec.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/read.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/reboot.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/reiserfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/scsi.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/search.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/serial.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/setjmp.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/sfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/sh.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/sleep.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/sun.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/tar.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/terminal.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/terminfo.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/test.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/tga.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/udf.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/ufs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/uhci.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/usb_keyboard.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/usb.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/usbms.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/usbtest.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbeinfo.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbe.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbetest.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/vga.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/vga_text.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/video.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/videotest.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/xfs.mod
+grml-live: arch-independent-package-contains-binary-or-object ./usr/share/grml-live/templates/boot/grub/xnu.mod
grml-live: depends-on-obsolete-package depends: mkisofs
grml-live: executable-not-elf-or-script ./usr/share/grml-live/templates/windows/autostart/autorun.bat
grml-live: executable-not-elf-or-script ./usr/share/grml-live/templates/windows/autostart/autorun.inf
grml-live: executable-not-elf-or-script ./usr/share/grml-live/templates/windows/autostart/autorun.pif
grml-live: extra-license-file usr/share/grml-live/templates/boot/addons/bsd4grml/LICENCE.TXT
grml-live: extra-license-file usr/share/grml-live/templates/GRML/LICENSE.txt
+grml-live: script-not-executable ./usr/share/grml-live/scripts/bootgrub.mksh
grml-live: unknown-section grml
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/acorn.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/acpi.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/affs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/afs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/amiga.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/aout.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/apple.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ata.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ata_pthru.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/at_keyboard.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/biosdisk.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/bitmap.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/blocklist.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/boot.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/_bsd.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/bsd.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/bufio.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/cat.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/_chain.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/chain.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/cmp.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/configfile.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/cpio.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/cpuid.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/crc.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/datehook.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/date.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/datetime.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/dm_nv.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/drivemap.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/echo.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/efiemu.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/elf.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ext2.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/extcmd.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/fat.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/font.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/fshelp.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/fs_uuid.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/gfxterm.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/gpt.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/gptsync.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/gzio.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/halt.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/handler.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/hdparm.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/hello.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/help.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/hexdump.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/hfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/hfsplus.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/iso9660.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/jfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/jpeg.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/linux16.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/_linux.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/linux.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/loadenv.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/loopback.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/lsmmap.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ls.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/lspci.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/lua.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/lvm.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/mdraid.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/memdisk.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/memrw.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/minicmd.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/minix.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/mmap.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/_multiboot.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/multiboot.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/normal.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ntfscomp.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ntfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ohci.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/parttool.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/pci.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/pc.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/pcpart.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/play.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/png.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/pxecmd.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/pxe.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid5rec.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid6rec.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/raid.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/read.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/reboot.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/reiserfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/scsi.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/search.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/serial.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/setjmp.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/sfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/sh.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/sleep.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/sun.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/tar.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/terminal.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/terminfo.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/test.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/tga.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/udf.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/ufs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/uhci.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/usb_keyboard.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/usb.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/usbms.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/usbtest.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbeinfo.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbe.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/vbetest.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/vga.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/vga_text.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/video.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/videotest.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/xfs.mod
+grml-live: unstripped-binary-or-object ./usr/share/grml-live/templates/boot/grub/xnu.mod
--- /dev/null
+#!/usr/bin/env mksh
+# $Id$
+# $miros: src/sys/arch/i386/stand/bootxx/mkbxinst.sh,v 1.15 2009/02/08 20:47:48 tg Exp $
+#-
+# Copyright (c) 2007, 2008, 2009
+# Thorsten Glaser <tg@mirbsd.org>
+#
+# Provided that these terms and disclaimer and all copyright notices
+# are retained or reproduced in an accompanying document, permission
+# is granted to deal in this work without restriction, including un‐
+# limited rights to use, publicly perform, distribute, sell, modify,
+# merge, give away, or sublicence.
+#
+# This work is provided “AS IS” and WITHOUT WARRANTY of any kind, to
+# the utmost extent permitted by applicable law, neither express nor
+# implied; without malicious intent or gross negligence. In no event
+# may a licensor, author or contributor be held liable for indirect,
+# direct, other damage, loss, or other issues arising in any way out
+# of dealing in the work, even if advised of the possibility of such
+# damage or existence of a defect, except proven that it results out
+# of said person’s immediate fault when using the work as intended.
+#-
+# Self-installing 32-bit x86 boot blocks for GNU GRUB2 on i386-pc
+# Reads a list of extents (firstblock lastblock) from standard input
+# and writes bootxx to standard output, which can subsequentially be
+# stored as partition boot record (or floppy boot sector) on disc.
+
+set -A thecode 0x66 0x31 0xC9 0xBB 0x00 0x30 0x8E 0xD3 0xBC 0xFC 0xFF 0x66 0x51 0x66 0x9D 0x8E 0xC1 0xBF 0x00 0x7C 0x57 0xB1 0x10 0xF3 0xA4 0x5E 0x8E 0xD9 0xBB 0x00 0x08 0x53 0x53 0x8E 0xC3 0xBF 0x00 0xFE 0xB5 0x02 0xF3 0xA4 0x1F 0x68 0x7D 0xFE 0xCB 0x30 0x41 0x41 0x37 0x20 0x4C 0x6F 0x61 0x64 0x69 0x6E 0x67 0x20 0x00 0x62 0x61 0x64 0x20 0x6D 0x61 0x67 0x69 0x63 0x20 0x65 0x72 0x72 0x6F 0x72 0x0D 0x0A 0x00 0xAB 0x02 0x00 0x12 0x00 0x00 0x80 0x50 0xFF 0xB4 0x0E 0xBB 0x07 0x00 0xCD 0x10 0xAC 0x08 0xC0 0x75 0xF4 0xC3 0xE8 0xF7 0xFF 0xB8 0x30 0xFF 0x87 0x06 0x56 0xFE 0x3D 0x30 0xFF 0x75 0x19 0x31 0xC0 0xCD 0x16 0xEA 0xF0 0xFF 0x00 0xF0 0xFB 0x88 0x16 0x55 0xFE 0xBE 0x2F 0xFE 0x80 0xFA 0x80 0x72 0xDB 0xE8 0xD2 0xFF 0x31 0xDB 0xBE 0x53 0xFF 0x0F 0xB6 0x2E 0x4F 0xFE 0xAC 0x0F 0xB6 0xC8 0xC0 0xE9 0x05 0x83 0xE0 0x1F 0x40 0x41 0x50 0xBF 0x10 0xFE 0xB8 0x10 0x00 0xAB 0xB0 0x01 0xAB 0x89 0xD8 0xAB 0x8C 0xC8 0xAB 0xF3 0xA4 0x31 0xC0 0xAB 0xAB 0xAB 0xAB 0x5F 0x55 0x56 0xBE 0x10 0xFE 0xFF 0x16 0x56 0xFE 0xBD 0x04 0x00 0x8A 0x16 0x55 0xFE 0x60 0xF9 0xCD 0x13 0x9C 0xB8 0x2E 0x0E 0xBB 0x07 0x00 0xCD 0x10 0x9D 0xFB 0x61 0x73 0x1C 0x4D 0x60 0x9C 0x31 0xC0 0xCD 0x13 0x9D 0xBE 0x46 0xFE 0x0F 0x84 0x77 0xFF 0xB8 0x30 0x0E 0x01 0xE8 0xBB 0x07 0x00 0xCD 0x10 0x61 0xEB 0xD2 0xB4 0x02 0x00 0xE7 0x89 0x5C 0x04 0x00 0xFC 0x72 0x14 0x66 0x83 0x44 0x08 0x01 0x66 0x83 0x54 0x0C 0x00 0x4F 0x75 0xAC 0x5E 0x5D 0x4D 0x0F 0x85 0x7D 0xFF 0xBE 0x4C 0xFE 0xE8 0x3F 0xFF 0x66 0x31 0xD2 0x52 0x66 0x4A 0x8A 0x16 0x55 0xFE 0xB8 0x00 0x82 0x50 0xFA 0xCB 0x8B 0x44 0x08 0x8B 0x54 0x0A 0xF7 0x36 0x52 0xFE 0x42 0x31 0xC9 0x87 0xD1 0xF7 0x36 0x50 0xFE 0xC0 0xE4 0x06 0x86 0xC4 0x09 0xC1 0x88 0xD6 0xB8 0x01 0x02 0xC3 0xB4 0x42 0xC3
+typeset -i ofs_bkcnt=79
+typeset -i ofs_geomh=80
+typeset -i ofs_geoms=82
+typeset -i ofs_partp=84
+typeset -i ofs_secsz=252
+typeset -i begptr=339
+typeset -Uui8 thecode
+
+typeset -Uui16 curptr=begptr
+typeset -i wnum=0 wofs=0 wrec=0
+
+function do_record {
+ typeset -i blk=$1 cnt=$2 n
+ typeset -Uui16 x=blk y
+
+ (( blk && cnt )) || return
+
+ print -u2 "$wrec @0x${curptr#16#}: $cnt @$blk (0x${x#16#})"
+
+ while (( cnt )); do
+ let wrec++
+ (( n = blk < 0x00000100 ? 0 :
+ blk < 0x00010000 ? 1 :
+ blk < 0x01000000 ? 2 : 3 ))
+ (( x = cnt < 33 ? cnt : 32 ))
+ (( y = blk ))
+ print -u2 " - 0x${curptr#16#}: $((x)) (0x${x#16#}) @ $blk" \
+ "(0x${y#16#})"
+ (( thecode[curptr++] = (n++ << 5) | (x - 1) ))
+ (( blk += x ))
+ (( cnt -= x ))
+ while (( n-- )); do
+ (( thecode[curptr++] = y & 0xFF ))
+ (( y >>= 8 ))
+ done
+ done
+}
+
+function record_block {
+ typeset -i sv blk=$1
+
+ if (( !blk || (wofs && blk != (wofs + wnum)) )); then
+ # flush the blocks from the cache
+ (( wnum )) && do_record $wofs $wnum
+ wofs=0
+ wnum=0
+ fi
+ if (( blk )); then
+ # record some new block into the cache
+ (( wofs )) || let wofs=blk
+ (( wnum += 1 << sscale ))
+ fi
+}
+
+typeset -i partp=0 numheads=0 numsecs=0 sscale=0 bsh=9
+
+while getopts ":0:1B:h:p:S:s:" ch; do
+ case $ch {
+ (0) ;;
+ (1) ;;
+ (B) if (( (bsh = OPTARG) < 9 || OPTARG > 15 )); then
+ print -u2 error: invalid block size "2^'$OPTARG'"
+ exit 1
+ fi
+ ;;
+ (h) if (( (numheads = OPTARG) < 1 || OPTARG > 256 )); then
+ print -u2 warning: invalid head count "'$OPTARG'"
+ numheads=0
+ fi ;;
+ (p) if (( (partp = OPTARG) < 1 || OPTARG > 255 )); then
+ print -u2 warning: invalid partition type "'$OPTARG'"
+ partp=0
+ fi ;;
+ (S) if (( (sscale = OPTARG) < 0 || OPTARG > 24 )); then
+ print -u2 error: invalid input scale "'$OPTARG'"
+ exit 1
+ fi ;;
+ (s) if (( (numsecs = OPTARG) < 1 || OPTARG > 63 )); then
+ print -u2 warning: invalid sector count "'$OPTARG'"
+ numsecs=0
+ fi ;;
+ (*) print -u2 'Syntax:
+ bxinst [-1] [-B blocksize] [-h heads] [-p partitiontype] [-S scale]
+ [-s sectors] <sectorlist | dd of=image conv=notrunc
+Default values: blocksize=9 heads=16 sectors=63 partitiontype=0x27 scale=0'
+ exit 1 ;;
+ }
+done
+shift $((OPTIND - 1))
+
+if (( !numheads )); then
+ print -u2 warning: using default value of 16 heads
+ numheads=16
+fi
+
+if (( !numsecs )); then
+ print -u2 warning: using default value of 63 sectors
+ numsecs=63
+fi
+
+# read in the extents
+while read firstblock lastblock junk; do
+ while (( firstblock <= lastblock )); do
+ record_block $((firstblock++ << sscale))
+ done
+done
+record_block 0 # just flush
+print -u2 "using $wrec blocks, $((curptr-begptr)) bytes ($((510-curptr)) free)"
+
+# fill the block table
+if (( curptr-- > 510 )); then
+ print -u2 error: too many blocks
+ exit 1
+fi
+while (( ++curptr < 510 )); do
+ (( thecode[curptr] = (curptr & 0xFCF) == 0x1C2 ? 0 : RANDOM & 0xFF ))
+ # ensure the “active” flag is never set to 0x00 or 0x80
+ if (( ((curptr + 2) & 0xFCF) == 0x01C0 )); then
+ (( thecode[curptr] & 0x7F )) || let --curptr
+ fi
+done
+thecode[510]=0x55
+thecode[511]=0xAA
+
+# fill in other data
+(( thecode[ofs_bkcnt] = wrec ))
+(( thecode[ofs_geomh] = numheads & 0xFF ))
+(( thecode[ofs_geomh + 1] = numheads >> 8 ))
+(( thecode[ofs_geoms] = numsecs ))
+(( thecode[ofs_partp] = partp ))
+print -u2 "using sectors of 2^$bsh = $((1 << bsh)) bytes"
+(( thecode[ofs_secsz] = (1 << (bsh - 8)) ))
+
+# create the output string
+ostr=
+curptr=0
+while (( curptr < 512 )); do
+ ostr=$ostr\\0${thecode[curptr++]#8#}
+done
+
+# over and out
+print -n "$ostr"
+exit 0