Re:GRUB 2.00 released
by baq on Friday June 29, 2012 @06:00AM
(#4175938)
simple solution: don't even try think of them as configuration files. vim and emacs have the same issue and you don't hear many complaints.
[ Parent
| on HN ]
Well that's not so convenient in virt-v2v, where we have to parse grub2 configuration files to work out what they mean, what kernel is actually going to boot by default, what options it'll be booted with etc.
In fact the current approach we take is to ignore grub2 configuration. Very tellingly, all the important distributions ignore the files too. They generate the files from ordinary static configuration files stored elsewhere (in different places for each distro, naturally). So we parse those files instead.