grub
autogen.sh(andautoreconf -vfis) requireautoconf-archivegrub.cfgis now the default configuration filegrub-installoption--no-floppyhas been deprecated (the code returns0for compatibility)- known to break if linked with
gold grub-mkimagebuilds everything when neededgrub-mkrescueis not being used at all for ISO creationgrub-mkstandaloneis a wrapper aroundgrub-mkimageand is used to create EFI images and boots- Do not use
-max-iso9660-filenamesas it may cause buffer overflows on some systems and is not iso conformant - grub-mkrescue:
grub-mkrescue \ --compress=xz \ --disable-shim-lock \ --themes="" \ --core-compress=xz \ -o glaucus.iso \ --product-name=glaucus \ --product-version=20230721 \ cross- grub-mkimage:
grub-mkimage \ -C xz \ -o bootx64.efi \ -O x86_64-efi \ -p /boot/grub- grub modules for
i386-efitarget:configfileext2fatiso9660linuxmultibootnormalntfspart_applepart_gptpart_msdossearchsearch_fs_filesearch_fs_uuid
grubusesi386-efimodules fori386-pcand addsbiosdisk- Speed up
isoburning withbs=4M grubrequires free space (1-2 MB) before the 1st partition before installing it on an image file