On Linux, with GRUB 2 Bootloader, I try to figure out the actual usage of the
--config= option in
man 1 grub-mkimage on this topic:
embed FILE as an early config
My first guess would be
/boot/grub/grub.cfg -> but then there's a separate command to build this file, which leads me away from this guess. Another guess is
file's output: "Linux make config build file, ASCII text"). The other files I found were not ASCII but binary files, which also isn't much likely to be meant, I guess.
Question: What file, or kind of file, could be meant?
UPDATE: Found this one in the gnu.org documentation for GRUB 2, among commands for the GRUB prompt:
Load FILE as a configuration file. If FILE defines any menu entries, then show a menu containing them immediately.
Probably the same file? Funny sidenot: The online manual seemingly doesn't mention this option.
UPDATE 2: Found the following line in the output of
grub-mkrescue --output grub.iso --verbose
grub-mkrescue: info: grub-mkimage --directory '/usr/lib/grub/i386-pc' --prefix '/boot/grub' --output '/tmp/grub.ZiXwO6/boot/grub/i386-pc/eltorito.img' --format 'i386-pc-eltorito' --compression 'auto' --config '/tmp/grub.UtCj8W' 'biosdisk' 'iso9660'`
--config '/tmp/grub.UtCj8W' rules out
/boot/grub/grub.cfg .. somehow? And no, I didn't find anything mentioned about configuration when executing
grub-install with verbose output activated
man 1 grub2-mkstandalone opens
man 3 grub2-mkstandalone, but issuing
man 3 grub2-mkstandalone leads to an error message. Also:
grub-mkimage --config= seems to appear in the man page only but neither in
--help nor in