Jump to content
funtoo forums
  • 0
Sign in to follow this  
a-schaefers

grub.cfg and custom.cfg problems.

Question

I have been spinning on this for many several hours now and am reaching out for help. Thank you guys!

Here is /boot/grub/grub.cfg http://termbin.com/edvw
Here is /boot/grub/custom.cfg http://termbin.com/90wi

Notice towards the EOF in in grub.cfg is #410 section .
If the #410 section is included, then my grub will have TWO, identical 'funtoo 410' entries listed on my grub menu. (one from grub.cfg and one from custom.cfg)

BUT

If the #410 section is omitted, then I crash to grub rescue command prompt. I was expecting to still see one SINGLE entry from custom.cfg, but it never gets sourced in this situation!

custom.cfg appears to only get sourced if I have one menuentry stanza in grub.cfg !

My other computer has no menuentry stanzas in grub.cfg, only in custom.cfg and it displays all the menu entries in grub perfectly.

Why?

 

Edited by a-schaefers

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I can just put all my menu stanzas at the end of grub.cfg, but i dont understand why custom.cfg is not being sourced properly since /etc/grub.d/41_custom is marked executable and is EOF in grub.cfg

 

....

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×