Grub2 idea: floating for mindshare

Rashkae ubuntu at tigershaunt.com
Sat Feb 6 15:23:32 UTC 2010


Here's a thought I had about Grub 2 based on recent discussions on this 
list.

I really love Grub2, and think it's been a great improvement in just 
about every way.  But the automatically generated grub.cfg is just not 
always easy to cope with for people with more complex systems (ie, maybe 
someone has multiple versions of Windows and Linux...)

However, if you rely on 40_custom for your grub.cfg, you then have to 
update that file yourself to benefit from kernel updates.

My idea is that is that a file like 45_ubuntu_custom be created in 
/etc/grub.d but be made non-executable.  This file would then be 
populated by commented out options (just like the old menu.lst) file, 
and the kernel package post install would insert a boot stanza for the 
recently installed kernels.  If someone needed to use a custom grub.cfg 
file, they could then make that file executable (and optionally, remove 
the exec option from the default grug.d files) and have a system that 
worked much like the old style menu.cfg.





More information about the ubuntu-users mailing list