I installed Ubuntu 14.04 LTS on my Windows 7 computer, and I would like to know how to change the names of the menu options so it will just say "Windows 7" instead of "Windows 7 (loader) (on /dev/sda1)".

I saw this answer but that means installing a program, which I don't want to do. I want to know how to do this natively.


Grub menu entries for Windows are generated by the chain_entry function in /etc/grub.d/30_os-prober. The entry names are takes directly from the program os-prober. You can transform them to your liking by modifying said function.

| improve this answer | |
  • Can you please elaborate exactly what to do? I am new to Linux and don't yet know my way around. – Ploni Aug 3 '15 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.