Monday, 20 January 2020

Bugfix in grub_filemanager.mnu (booting .wim files did not work)

If you are using the grub2 File Manager with Easy2Boot and have used the grub_filemanager.mnu menu file in the Main Menu  AND you have an animation on the menu, you may find that direct booting of some WinPE NT6 .WIM files does not work.

To fix this, we need to unmap the floppy drive that the animation uses before we load the grubfm.iso file.

Here is the new grub_filemanager.mnu file (the additional lines are in red)

iftitle [ if exist (hd0,1)/grubfm.iso || if exist (hd0,2)/grubfm.iso ] Grub2 File Manager (a1ive)\nBoot a file using grub2
splashimage --animated=0
map --unmap=0:03 > nul
map --unhook
find --set-root /grubfm.iso
map --mem /grubfm.iso (0xff)
map --hook
chainloader (0xff)
boot


No comments:

Post a comment