Preload GRUB's NTFS, exFAT and UDF modules
There are claims that some UEFI allegedly natively support NTFS. Preload the required GRUB modules to support booting from NTFS on such systems. Additionally preload the exFAT and UEF modules, because, why not?
This commit is contained in:
parent
3f95d391ef
commit
5587e031f3
@ -11,6 +11,8 @@ Added
|
||||
- Support *file system transposition* to simplify boot medium preparation for UEFI boot via extracting the ISO image
|
||||
contents to a drive. ``grub.cfg`` does not hardcode the ISO volume label anymore, instead GRUB will search for volume
|
||||
with a ``/.disk/%UUID_SEARCH_FILENAME%.uuid`` file on it.
|
||||
- Preload GRUB's NTFS modules for UEFI that allegedly have native NTFS support. GRUB's exFAT and UDF modules are also
|
||||
preloaded in case someone finds them useful.
|
||||
|
||||
Changed
|
||||
-------
|
||||
|
@ -612,11 +612,11 @@ _make_bootmode_uefi-ia32.grub.esp() {
|
||||
|
||||
# Create EFI binary
|
||||
# Module list from https://bugs.archlinux.org/task/71382#comment202911
|
||||
grubmodules=(all_video at_keyboard boot btrfs cat chain configfile echo efifwsetup efinet ext2 f2fs fat font \
|
||||
grubmodules=(all_video at_keyboard boot btrfs cat chain configfile echo efifwsetup efinet exfat ext2 f2fs fat font \
|
||||
gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg keylayouts linux loadenv loopback lsefi lsefimmap \
|
||||
minicmd normal part_apple part_gpt part_msdos png read reboot regexp search search_fs_file \
|
||||
search_fs_uuid search_label serial sleep tpm usb usbserial_common usbserial_ftdi usbserial_pl2303 \
|
||||
usbserial_usbdebug video xfs zstd)
|
||||
minicmd normal ntfs ntfscomp part_apple part_gpt part_msdos png read reboot regexp search \
|
||||
search_fs_file search_fs_uuid search_label serial sleep tpm udf usb usbserial_common usbserial_ftdi \
|
||||
usbserial_pl2303 usbserial_usbdebug video xfs zstd)
|
||||
grub-mkstandalone -O i386-efi \
|
||||
--modules="${grubmodules[*]}" \
|
||||
--locales="en@quot" \
|
||||
@ -689,11 +689,11 @@ _make_bootmode_uefi-x64.grub.esp() {
|
||||
|
||||
# Create EFI binary
|
||||
# Module list from https://bugs.archlinux.org/task/71382#comment202911
|
||||
grubmodules=(all_video at_keyboard boot btrfs cat chain configfile echo efifwsetup efinet ext2 f2fs fat font \
|
||||
grubmodules=(all_video at_keyboard boot btrfs cat chain configfile echo efifwsetup efinet exfat ext2 f2fs fat font \
|
||||
gfxmenu gfxterm gzio halt hfsplus iso9660 jpeg keylayouts linux loadenv loopback lsefi lsefimmap \
|
||||
minicmd normal part_apple part_gpt part_msdos png read reboot regexp search search_fs_file \
|
||||
search_fs_uuid search_label serial sleep tpm usb usbserial_common usbserial_ftdi usbserial_pl2303 \
|
||||
usbserial_usbdebug video xfs zstd)
|
||||
minicmd normal ntfs ntfscomp part_apple part_gpt part_msdos png read reboot regexp search \
|
||||
search_fs_file search_fs_uuid search_label serial sleep tpm udf usb usbserial_common usbserial_ftdi \
|
||||
usbserial_pl2303 usbserial_usbdebug video xfs zstd)
|
||||
grub-mkstandalone -O x86_64-efi \
|
||||
--modules="${grubmodules[*]}" \
|
||||
--locales="en@quot" \
|
||||
|
@ -3,6 +3,10 @@ insmod part_gpt
|
||||
insmod part_msdos
|
||||
insmod fat
|
||||
insmod iso9660
|
||||
insmod ntfs
|
||||
insmod ntfscomp
|
||||
insmod exfat
|
||||
insmod udf
|
||||
|
||||
# Use graphics-mode output
|
||||
insmod all_video
|
||||
|
@ -3,6 +3,10 @@ insmod part_gpt
|
||||
insmod part_msdos
|
||||
insmod fat
|
||||
insmod iso9660
|
||||
insmod ntfs
|
||||
insmod ntfscomp
|
||||
insmod exfat
|
||||
insmod udf
|
||||
|
||||
# Use graphics-mode output
|
||||
insmod all_video
|
||||
|
Loading…
Reference in New Issue
Block a user