Changing grub default boot order
Jim Byrnes
jf_byrnes at comcast.net
Thu Mar 28 19:11:56 UTC 2013
On 03/28/2013 11:51 AM, Oliver Grawert wrote:
> hi,
> Am Donnerstag, den 28.03.2013, 10:40 -0600 schrieb JD:
>> On which disk did you install grub when you installed 12.04?
>> The boot menu you see when you power up the pc: does it
>> reside on sda or on sdb?
>>
>> edit the file /boot/grub/grub.cfg and change the line
> ergh ... never ever edit that file directly ... (update-grub (which is
> run automatically in various occasions (i.e. on kernel upgardes)) will
> overwrite it) ... there is a note in capital letters at the top of the
> file btw ...
>
>
> you want to edit GRUB_DEFAULT=0 in /etc/default/grub and then run
> update-grub
>
> ciao
> oli
>
>
>
Ok thanks. I want sdb to be the default boot device. It is the 15th
line on the grub menu (14th if you start counting at 0). What do I set
GRUB_DEFAULT= to be?
Regards, Jim
More information about the ubuntu-users
mailing list