grubby details of grub2

Goh Lip g.lip at
Sun Oct 3 21:42:31 UTC 2010

On Monday 04,October,2010 05:12 AM, Kevin O'Gorman wrote:

> Somewhat to my amazement I got it working.  I even dual boot to Vista.
> Problem is that I want to change
> where that Vista entry appears in the menu, and I have NO clue.  I heard
> that menu.lst no longer exists,
> and that configuration now goes in grub.cfg.  Then I notice the warning
> not to touch that file because it's
> automatically generated.  I find myself unable to sort out the layers of
> the new setup.
> Since all I ordinarily use is the first Linux entry and the Vista entry,
> I'd like to move Vista up to the top or second
> spot.  That's it.  I figure it might take me a day to figure this out,
> but free days are hard to come by and I'm
> hoping somebody can give me a short recipe.

Kevin, there are several methods you can choose...
o modify the grub.cfg anyway (despite warning, it's ok, minor amendment)
o use the 'update manager'
o modify the default at /etc/default/grub
o add vista entry to and amend /etc/grub.d/40_custom to 07_custom

The first 3 is fairly straightforward but you need to watch out for any 
kernel upgrades and you have to redo it once more as the default number 
will be changed.

The 4th method will be permanent and vista will be at the top of the 
menu list, don't forget to update-grub to effect the change.

But I use none of these.

Good luck and take care - Goh Lip

More information about the ubuntu-users mailing list