---

Linux Howto: Cleaning up Your GRUB 2 Menu (part 2)

“In the last installment, I showed how to add new entries for
your grub2 menu, and gave a few simple examples of entries that
work. But that boot menu is long, confusing and ugly. How do you
fix it?

“Getting Rid of Bogus Menu Entries

“I mentioned in the last article that Ubuntu’s scripts generated
56 lines of grub entries on my system. That’s because I have three
root partitions and a lot of kernels in /boot.

“Ubuntu generates entries to boot every kernel with every root
partition — except most of those combinations don’t actually work,
because the kernel may depend on modules or userspace programs that
are only installed in one of your distros. The only entries you can
be sure are right are the ones for the current Ubuntu install with
the current Ubuntu kernel — and those may not be first in the
menu.”

Complete
Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis