I was fiddling with my GRUB 2 config files (/boot/grub/grub.cfg
) and I noticed that the menuentry
line for the automatically added Ubuntu boot looks like this:
menuentry 'Ubuntu 14.04 Trusty Tahr (on sda5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fe3a2033-d77c-4d8c-ba04-3bb27b267dc2' {
What is that $menuentry_id_option 'gnulinux-simple-fe3a2033-d77c-4d8c-ba04-3bb27b267dc2'
part at the end and do I need it when I add new boot options?
So, what does the $menuentry_id_option
mean?
Do I need to use it when I add another boot menu item for some other distro?
What would happen if I didn't include it?
Also, is there some GRUB reference I can look to for questions about what these things do?