FULL INSTRUCTIONS
=============================
I have taken the time to write a full tutorial as to how to customise your GRUB 2 entries. Due to GRUB 2 not being updated after Windows 7's release, it detects it as Windows Vista. You can edit your entries by opening the /etc/grub.d/ directory with administrative priveleges, editing a custom file, then updating the GRUB database. Here I explain:
Open /etc/grub.d/ with root access by opening a Terminal (Applications > Accessories > Terminal) and typing
Code:
sudo nautilus /etc/grub.d/
You will be asked for your password, which WON'T be displayed on screen for security reasons. However, press ENTER after typing your password and a File Manager window will open.
Here you should see several files; The one you'll need is "40_custom". Rename it to "06_custom" and open it. Leave the gEdit window open and close the File Manager. If you haven't already, close the Terminal and if asked, click "Close Terminal" to confirm. Open a new Terminal (Applications > Accessories > Terminal) and enter:
Code:
gedit /boot/grub/grub.cfg
This will open your current GRUB 2 configuration file in gEdit. Scroll through the file until you come to a paragraph of code that reads:
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry [...]
This is where the list of your Linux Kernel entries begin. Find the menuentry 'Ubuntu, with Linux X.X.xx-xx-generic' [...] that corresponds to your desired GRUB 2 entry. Select the text that is contained between...
Code:
menuentry 'Ubuntu, [...]
and
initrd [filename]
}
...inclusive, and copy it to the clipboard by right-clicking the selected text and clicking "Copy".
Now open the gEdit tab 06_custom in the same window and paste the copied text at the bottom of the file, without deleting the text already in the file. You can do this by pressing CTRL+END then right-clicking in the text area and clicking "Paste". You can edit the title of the menu entry by replacing the text in quotes (') after menuentry with your own. Be sure to keep the desired text in single quotes!
You can now save the 40_custom file and close its tab by clicking the "X". You should return to the grub.cfg tab. DO NOT save this file; this could result in an un-bootable system!!! Simply close the gEdit window and if asked, click Close without Saving.
Close the Terminal as before and open a new one. This time, type:
You will be asked for your password at the prompt. Type it, press ENTER and wait for the process to finish. Once the prompt returns to...
Code:
user-name@computer-name:~$
...you should type...
Code:
sudo shutdown -r now
...to restart your computer. You should now be greeted by a new GRUB 2 menu, with your newly added menu entries!
==========================================
P.S. If you do not understand any of the above instructions, I recommend visiting the >>GRUB 2 Ubuntu Community Help Documentation<< pages.
If you still have no clue what I'm going on about, feel free to reply to this post. I'll be happy to help! If you have other Operating Systems installed, such as Microsft Windows, reply to this post and I'll explain how to do so.
Bookmarks