Adding Fedora15 to F16alpha grub2 menu {solved}

Petrus de Calguarium pgueckel at
Thu Aug 25 19:52:34 UTC 2011

Scott Robbins wrote:

>> > On Thu, Aug 25, 2011 at 12:21:37PM -0600, Petrus de Calguarium 
>> > I have edited /etc/grub.d/40_custom and run grub2-mkconfig -o
>> > /boot/grub2/grub.cfg, but my F15 entry never shows up in the 
menu, even though it is in grub.cfg.

> Interesting.  I just tested, on a virtual machine, without an actual
> O/S, (just made up one) and it showed up on my grub menu.  Is it
> possible you made a typo?

Possible? Of course... but I checked it numerous times and it all 
works when I type it by hand at the grub prompt and it also works when 
I put it into custom.cfg (copy and paste). I have also written and 
rewritten it many times, trying all of the various suggestions here in 
this thread, etc. and variations and it never appears in the grub 
menu, not even in a defective state. All my entries simply do not show 
up at all.

> (Or accidentally deleted that line they say not to delete?)

I definitely did NOT delete that line ;-)

But no matter. Editing custom.cfg is actually preferable, since you 
don't need to change those scripts under /etc/grub.d and you don't 
have to run grub2-mkconfig -o /boot/grub2/grub.cfg. And these entries 
verily do show up in the menu.

More information about the test mailing list