I recently followed this guide to dual-booting OEM Windows 8 and Ubuntu, and now I've got an awful GRUB menu full of redundant entries. All I want are two entries: one for Ubuntu, and one for Windows. I'd also like to be able to rename them, since the entry for Windows 8 has a name that doesn't make any sense.
|
First try grub-customizer, see this answer, but you should know that grub-customizer has some issues with the newest grub-2.00. If you like the manual editing way, open a terminal (Ctrl+Alt+T) and run
Here you will create YOUR custom grub entries. If you have another Linux system (Windows no matters), then you must update these custom entries by hand every time a new kernel arrives in the other Linux system (not Ubuntu). Now you must have two documents opened, the one ( Each entry begins with
and ends with this symbol Copy paste the entries you want from When done, save the Run in terminal
Above commands will remove the execute permissions from 30_os-prober (that scans for other Operating Systems and add the entries) and will give execute permissions to your custom script (40_custom). Last command will update grub with the new values. Check the new values with
Above method is a bit tricky and dangerous. You should edit the files very carefully because you may wind up with a corrupted grub menu or no menu at all. If that's the case, you have to use boot-repair from a Live media to restore grub. More grub tips and tricks can be found in Ubuntu Wiki/Grub2, for custom menus look here. Good Luck |
|||||||||
|