Changing grub default boot order
JD
jd1008 at gmail.com
Thu Mar 28 16:40:35 UTC 2013
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
set default="N"
where N is the ordinal position of the OS in grub.cfg
starting from 0.
If you examine grub.cfg, you will see it contains lines that start with
menuentry
Each menuentry specifies which OS is to be booted, based on either
the value of N , or at boot time, which OS you select from the boot menu.
If you do not see the boot menu displaying the available OS'es , then
select "Advanced options for Ubuntu"
and that will display the available OS'es that can be booted.
Use the arrow keys to position the cursor at the one you wish to boot.
Hope this helps.
On 03/28/2013 09:47 AM, 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
>
>
More information about the ubuntu-users
mailing list