Boot order in Ubuntu 10 and Win 7

Nils Kassube kassube at gmx.net
Fri Jan 21 17:40:51 UTC 2011


Colin Law wrote:
> On 21 January 2011 08:53, Nils Kassube <kassube at gmx.net> wrote:
> > Oliver Marshall wrote:
> >> I have a laptop with win7 and ubuntu 10 on it. After installing
> >> Ubuntu 10 the default boot option became Ubuntu rather than
> >> Windows.
> >> 
> >> Is there an easy way to change the default boot option back to
> >> Win7 ?
> > 
> > According to [1] it should work like this:
> > 
> > First locate the menu entry for Windows in the boot loader
> > configuration file with the command
> > 
> > grep ^menuentry /boot/grub/grub.cfg
> 
> That is the wrong file, it is /etc/default/grub that should be
> editted (as described in the link [1] you posted).  grub.cfg is
> automatically generated and starts with the line
> # DO NOT EDIT THIS FILE

Hmm, where did I advise to edit /boot/grub/grub.cfg?

[...]
> > Now edit the grub config default file with the command
> > 
> > gksu gedit /etc/default/grub


Nils




More information about the ubuntu-users mailing list