Resolved: Ran updates,now grub messed up.

Goh Lip g.lip at
Fri Jun 18 18:33:54 UTC 2010

On 06/18/2010 11:52 PM, Colin Law wrote:
> On 18 June 2010 15:46, Goh Lip<g.lip at>  wrote:
>> On Fri, 18 Jun 2010 22:33:08 +0800, Edwin McGuire
>> <mcguiresmain at>  wrote:

> I think in an earlier post he said he is still on grub 1.97.
> Ed, how are you attempting to edit menu.lst?  You have to do it with
> sudo so that you have permission to save it.
> sudo gedit /boot/grub/menu.lst

grub 1.97 is grub2, not grub legacy
editing menu.lst wont work.

>> Go to /etc/grub.d
>> Make a terminal there
>> $ sudo cp 40_custom 07_mefirst
>> copy entry contents of Windows at 30_os-prober to new 07_mefirst directory
>> save, exit
>> at terminal
>> $ sudo update-grub
> If using grub2 then I think there is a simpler way to change the
> default boot.  Edit the cfg file
> sudo gedit /etc/default/grub
> and change the value of GRUB_DEFAULT to the one you want (the first
> one is value 0). Then
> sudo update-grub
> It does need to be re-done if a new kernel is installed as the number
> will change.

precisely. with the method outlined earlier, Ed won't have to worry 
about this. he can do what you suggested if he knows this, and keeps 
changing the default, update grub etc but we have too many posts 
criticizing this method that this won't stick; so i guess we want our 
cake and eat it too.

> Colin

More information about the ubuntu-users mailing list