grub-mkimage is missing modules that could enable UEFI boot of Manjaro from content extracted to a FAT32 partition
Preamble
This is a duplicate of packages/core/grub#2 (closed), since it appears that the 'GRUB' that needs to be fixed is not the "core" GRUB package but the GRUB that is used to boot the ISO, in manjaro-tools.
As pointed out in the issue referenced above, it can be demonstrated that replacing the current Manjaro ISO EFI GRUB bootloader with a version that includes FAT32 support allows users to create bootable UEFI media that, as opposed to using a dd
copy, can be made by simply extracting the whole ISO content on a GPT partitioned FAT32 drive, and then booting it from a UEFI computer.
This can be desirable for Windows users, who, for varied reasons, such as being able to see the full content of the media they just created or being able to also use the media as regular storage, may prefer this method of creating bootable media as opposed to dd
mode. This is even more true as most other distributions (Debian, Ubuntu, Arch) do support this mode of installation.
Proposed fix
grub-mkimage -d ${grub}/${platform} -o ${grub}/${platform}/${img} -O ${platform} -p ${prefix} biosdisk iso9660
should be altered to:
grub-mkimage -d ${grub}/${platform} -o ${grub}/${platform}/${img} -O ${platform} -p ${prefix} biosdisk iso9660 part_msdos part_gpt fat ntfs
For consistency, part_msdos part_gpt fat ntfs
should probably also be added to line 101.
If you do that, then, from what I was able to validate, the method of creating bootable media described above should also work with Manjaro ISOs, as opposed to currently resulting in a grub rescue>
prompt due to the GRUB bootloader being unable to read content from a standalone FAT32 partition.