Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 944 Bytes

Updating.md

File metadata and controls

32 lines (29 loc) · 944 Bytes

Updating Grub2

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.

  1. Clone the Grub2 git repository
~$ git clone git://git.savannah.gnu.org/grub.git
  1. CD in the directory
~$ cd grub
  1. Build Grub
~/grub$ ./bootstrap
~/grub$ ./configure
~/grub$ make -j2
~/grub$ sudo make install
  1. 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
  1. 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