# Install modules (installed, but not automatically loaded)
grub_install_modules=" \
adler32 \
affs \
afs \
all_video \
archelp \
ata \
backtrace \
bfs \
bitmap \
bitmap_scale \
blocklist \
bswap_test \
cmdline_cat_test \
cmp \
cmp_test \
cpio \
cpio_be \
cpuid \
crc64 \
cs5536 \
ctz_test \
div \
div_test \
dm_nv \
efiemu \
elf \
eval \
exfat \
exfctest \
extcmd \
f2fs \
file \
fshelp \
functional_test \
gdb \
gettext \
gptsync \
gzio \
hashsum \
hello \
hexdump \
hfs \
hfsplus \
hfspluscomp \
http \
jfs \
jpeg \
json \
linux16 \
loadenv \
lzopio \
macbless \
macho \
mda_text \
minix \
minix2 \
minix2_be \
minix3 \
minix3_be \
minix_be \
mmap \
morse \
mpi \
msdospart \
mul_test \
multiboot \
multiboot2 \
nativedisk \
net \
newc \
nilfs2 \
ntfs \
ntfscomp \
odc \
offsetio \
part_acorn \
part_amiga \
part_apple \
part_dvh \
part_plan \
part_sun \
part_sunpc \
parttool \
pbkdf2_test \
play \
png \
priority_queue \
procfs \
progress \
random \
rdmsr \
read \
reiserfs \
relocator \
scsi \
search \
search_fs_file \
search_fs_uuid \
search_label \
setjmp \
setjmp_test \
setpci \
sfs \
shift_test \
signature_test \
sleep \
sleep_test \
smbios \
spkmodem \
squash4 \
strtoull_test \
tar \
terminfo \
test_blockarg \
testload \
testspeed \
tftp \
tga \
time \
tr \
trig \
true \
udf \
ufs1 \
ufs1_be \
ufs2 \
usbtest \
video_bochs \
video_cirrus \
video_colors \
videoinfo \
videotest \
videotest_checksum \
wrmsr \
xnu \
xnu_uuid \
xnu_uuid_test \
xzio \
"

# Modules (and always loaded)
grub_modules=" \
acpi \
afsplitter \
ahci \
aout \
at_keyboard \
boot \
bsd \
btrfs \
cat \
cbfs \
cbls \
cbmemc \
cbtime \
chain \
cmosdump \
cmostest \
configfile \
crypto \
cryptodisk \
date \
datehook \
datetime \
disk \
diskfilter \
echo \
ehci \
ext2 \
fat \
gcry_arcfour \
gcry_blowfish \
gcry_camellia \
gcry_cast5 \
gcry_crc \
gcry_des \
gcry_dsa \
gcry_idea \
gcry_md4 \
gcry_md5 \
gcry_rfc2268 \
gcry_rijndael \
gcry_rmd160 \
gcry_rsa \
gcry_seed \
gcry_serpent \
gcry_sha1 \
gcry_sha256 \
gcry_sha512 \
gcry_tiger \
gcry_twofish \
gcry_whirlpool \
geli \
gfxmenu \
gfxterm_background \
gfxterm_menu \
halt \
hdparm \
help \
iorw \
iso9660 \
json \
keylayouts \
keystatus \
ldm \
linux \
loopback \
ls \
lsacpi \
lsmmap \
lspci \
luks \
luks2 \
lvm \
mdraid09 \
mdraid09_be \
mdraid1x \
memdisk \
memrw \
minicmd \
normal \
ohci \
part_bsd \
part_dfly \
part_gpt \
part_msdos \
password \
password_pbkdf2 \
pata \
pbkdf2 \
pci \
pcidump \
pgp \
probe \
raid5rec \
raid6rec \
reboot \
regexp \
romfs \
serial \
syslinuxcfg \
terminal \
test \
uhci \
usb \
usb_keyboard \
usbms \
usbserial_common \
usbserial_ftdi \
usbserial_pl2303 \
usbserial_usbdebug \
xfs \
zfs \
zfscrypt \
zfsinfo \
zstd \
"