11 ms·
Are you sure that GRUB2 saves the config as a binary? I think on my Arch update-grub generates /boot/grub/grub.cfg which looks somewhat similar to good old menu
by arebours 11y ago
Are you sure that GRUB2 saves the config as a binary? I think on my Arch update-grub generates /boot/grub/grub.cfg which looks somewhat similar to good old menu.lst.
- digi_owl 11y agoThe binary part may be a bit harsh. But if i recall correctly grub2 compiles one config into another, and the result is topped with a "do not edit!" warning.
- lloeki 11y agoIf you poke into the resulting config, you'll notice that it's just convenience†, and you could write the file by hand. † in the same way that autotools is "convenience" saving you from writing makefiles and configure scripts.
- semi-extrinsic 11y agoYes you can write the file by hand, but what you write is going to get overwritten on the next system update to grub2.
- vetinari 11y agoHowever, it is not due to fault of grub2, but due to distro-specific scripts that "helpfully" generate grub config.