Also, some bad BIOSes boot directly from the PBR of a USB drive, so you should install bootlace to both MBR and PBR
Code: Select all
echo Installing grub4dos to MBR
sudo chmod +rwx $DIR/bootlace.com
sudo $DIR/bootlace.com --time-out=0 ${device%?}
echo Installing grub4dos to PBR
sudo $DIR/bootlace.com --floppy=1 $device
Also, the first E2B partition should not be greater than 128GB because some bad BIOSes cannot access any sector past 128GB so it wont be able to load any ISO past 128GB.