I want to customize the results of grub-update
Pongo A. Pan
pongo_pan at fastmail.us
Fri Mar 23 03:23:41 UTC 2012
On Thu, 2012-03-22 at 19:55 -0700, Kevin O'Gorman wrote:
> Using grub-update on 10.04.04 LTS on my Gateway laptop, dual booted
> with Win 7, I get a really perverse menu.
> One used to be able to edit those things by hand with legacy GRUB, but
> I don't know how to do it with GNU GRUB.
> What's wrong? The default is the first item in the menu, with is a
> windows recovery partition that GRUB thinks is Vista.
> What's wrong with that?
> 1) I want the default to be Ubuntu
> 2) I don't want to see the recovery partition in position 1; I'd
> prefer it at the end.
> Is there a way to do this so it keeps happening?
You can hand-edit /boot/grub/grub.cfg. It shouts at you that you should
not, but I do it all the time with no tragic results so far. Of course
you'll have to do it again with the next kernel upgrade. I keep a copy
of my changes and just add in the new stanzas I upgrade kernels.
Thu, 22 Mar 2012 20:22:16 -0700
Epicurus up 3:17, 1 user, load average: 0.03, 0.03, 0.05
Linux Mint 12 Lisa, gnome-session 3.2.1, Cinnamon 1.4.0
More information about the ubuntu-users