Boot order in Ubuntu 10 and Win 7

Colin Law clanlaw at googlemail.com
Fri Jan 21 17:59:26 UTC 2011


On 21 January 2011 17:40, Nils Kassube <kassube at gmx.net> wrote:
> 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?

Sorry, you are quite right.  Not paying attention here.  Please erase
my post from your memory banks.
@OP - please follow the directions posted by Nils, his suggestions
come highly recommended by myself.

Colin




More information about the ubuntu-users mailing list