The best way to do this is on a Linux machine, or, as I did, using the Windows Subsystem for Linux feature available on Windows 10. Therefore, all the commands here are for a Linux host.
- Clone the Grub2 git repository
~$ git clone git://git.savannah.gnu.org/grub.git
- CD in the directory
~$ cd grub
- Build Grub
~/grub$ ./bootstrap
~/grub$ ./configure
~/grub$ make -j2
~/grub$ sudo make install
- Create the boot image
~/grub$ cd grub-core
~/grub/grub-core$ ../grub-mkimage -d . biosdisk iso9660 linux ntfs fat configfile part_msdos -O i386-pc -p "/boot/grub" -o core.img
~/grub/grub-core$ cat cdboot.img core.img > eltorito.img
- Replace the following files:
File | Target path |
---|---|
eltorito.img | SharpBoot\Resources\Components\basedisk.7z\boot\grub |
boot.img | SharpBoot.AdminProcess\Resources |
core.img | SharpBoot.AdminProcess\Resources |