Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Every Grub menu have its options written is English and I would like to translate it to Portuguese. So, this is the question, how to edit the text of the Grub menu's options?

For example the 12.10 Grub's menu is something like that:

Ubuntu
Advanced Ubuntu options

My objective is to translate it to:

Ubuntu
Opções avançadas do Ubuntu
share|improve this question

1 Answer 1

up vote 1 down vote accepted

Before doing anything, make a backup copy of the file you are going to edit, just in case.

There is a grub.cfg file located in /boot/grub/.

The grub menu entries are listed there. Each entry starts with menuentry word, which is followed by the entry text in single or double quotation marks.

Everything that is inside the single quotes is the text that is displayed for that entry.

You also might want to take a look at this thread on ubuntuforums.

share|improve this answer
3  
just an enhancement: instead of editing grub.cfg its better to edit the files in /etc/grub.d folder, because grub.cfg is automatically generated using those files when the grub entries need to be updated (ex: installing a new kernel) –  Salem Oct 20 '12 at 13:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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