Changing grub default boot order
Jim Byrnes
jf_byrnes at comcast.net
Sat Mar 30 13:38:10 UTC 2013
On 03/29/2013 10:51 PM, Basil Chupin wrote:
> On 29/03/13 02:47, Jim Byrnes wrote:
>> I upgraded from 10.04 to 12.04 by installing 12.04 on a different hard
>> drive and dual booting. Now I would like to make 12.04 (sdb) the
>> default. This link [1] suggests using grub-customizer [2]. Does
>> anyone have any experience with this app?
>>
>> [1]
>> http://askubuntu.com/questions/100232/how-do-i-change-the-grub-boot-order
>>
>> [2]
>> http://www.howtogeek.com/howto/43471/how-to-configure-the-linux-grub2-boot-menu-the-easy-way/
>>
>>
>> Thanks, Jim
>>
>
> I have read all the replies you received to your question. However, as
> you correctly point out when the next time you have an ugrade to the
> kernel or whatever you will strike hassles. So let's get this sorted out
> now instead of later. How about you provide us with:
Basil,
I think it is solved now by changing GRUB_DEFAULT=0 to GRUB_DEFAULT=14.
I think this should survive updates as 10.04 is at the top of the menu
and there will be no more updates to it. Thus sdb1 (12.04) will always
be a position 14. To be complete I will provide the info you requested.
> 1. a list of your partitions: do a 'sudo fdisk -l > partitons.txt' and
> post the details here (or on picpaste and give us the link);
jfb at jims1204:~$ sudo fdisk -l
[sudo] password for jfb:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d880b
Device Boot Start End Blocks Id System
/dev/sda1 * 63 563959807 281979872+ 83 Linux
/dev/sda2 563959808 584439807 10240000 5 Extended
/dev/sda5 564901888 584437759 9767936 82 Linux swap / Solaris
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005ede4
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1937272831 968635392 83 Linux
/dev/sdb2 1937274878 1953523711 8124417 5 Extended
/dev/sdb5 1937274880 1953523711 8124416 82 Linux swap / Solaris
jfb at jims1204:~$
> 2. tell us on which sda partition you have 10.4 installed and on which
> sdb you have 12.04;
sda1 = 10.04 and sdb1 = 12.04
> 3. was your 10.4 installed with grub (legacy) and was 12.04 installed
> now with grub2 (which I believe is the default grub now).
I think both were installed with grub2. My memory is terrible about
these things but I think grub2 was the default for 10.04 even though it
was beta at the time.
Regards, Jim
>
More information about the ubuntu-users
mailing list