[SOLVED] Re: Changing grub default boot order

Colin Law clanlaw at googlemail.com
Sat Mar 30 07:57:01 UTC 2013


On 29 March 2013 22:41, JD <jd1008 at gmail.com> wrote:
>
> On 03/29/2013 01:00 PM, Colin Law wrote:
>>
>> On 29 March 2013 18:01, Jim Byrnes <jf_byrnes at comcast.net> wrote:
>>>
>>> On 03/29/2013 12:40 PM, Jim Byrnes wrote:
>>> <snip>
>>>
>>>
>>>>>> I also found some info on the web about changing GRUB_DEFAULT=. I
>>>>>> tried
>>>>>> changing it to GRUB_DEFAULT=14. (sdb1 is on line 15) and I tried
>>>>>> changing it
>>>>>> to "Ubuntu, with Linux 3.2.0-39 generic (on /dev/sdb1)". Both of
>>>>>> these were
>>>>>> suggestions I found on line but neither worked.
>>>>>
>>>>>
>>>>> You may be changing it on the wrong file.  Remember there will be one
>>>>> on each disk.  I think as you have it you probably have to boot into
>>>>> the old ubuntu (so the default boot) and change it there.  this is
>>>>> going to cause continuous confusion however, hence my suggestion to
>>>>> boot off the second disk by one means or another.
>>>>
>>>>
>>>> Something else I never thought of.  Not sure what confusion you are
>>>> referring to here. Anyway I am going to try this before making anymore
>>>> physical changes.
>>>>
>>> Changing both files worked.  The sdb1 line is highlighted and it boots to
>>> 12.04.  The only side effect seems to be sda1 line no longer appears in
>>> the
>>> menu.  I can curor up to the first kernal entry and boot to 10.04 so
>>> that's
>>> not a problem.
>>
>> The reason I said that there may be confusion is that if the kernel in
>> 12.04 is updated and it runs update-grub I am not sure that the right
>> files will get updated for the new kernel to appear in the menu.
>> Someone who knows more about how it all works would have to answer
>> that.
>>
>> Colin
>
>
> That is why I had asked: during install of 12.04, on which
> disk did the OP choose to install the grub.
> If he had chosen sdb, the while booting and running off of sdb, and
> the system is updated, the new kernel will indeed reside on sdb.
> If the OP had chosed sda, then the new updated kernel will go
> to sda.

I believe that when the OP installed 12.04 the other disk was not connected.

Colin




More information about the ubuntu-users mailing list