Instructions and a grub2 config file for booting linux installers. live disks and a windows 7 installer.
-
Use fdisk to create a single partition (of FAT32) and set the bootable flag.
-
Format it:
mkfs.msdos -nMYINST -F 32 /dev/sda1
(replace sda1 with your partition) -
Mount the partition.
-
Install grub2 onto it:
grub-install --no-floppy --root-directory=/where/it/is/mounted /dev/sda
(replace sda with your device)
Warning: This deletes the partition table.
dd if=/dev/zero of=/dev/sda bs=512 count=1
Open the windows 7/10 iso and extract all the files directly onto the usb.
View the grub.conf for examples on booting different installs, disks etc.