Changing Boot Order of Windows and Linux

If you have installed WIndows and Linux and you have GRUB as default Bootloader

then Read this post to know how to change boottime and bootorder.


For this we have to modify grub.cfg file.

If you have Ubuntu OS then just type grub.cfg in Dock.


grub.cfg is Important file so first lets make its backup

issue following command in terminal to make its backup.

sudo cp /boot/grub/grub.cfg /boot/grub/grub_backup.cfg

Or open Terminal and type following command

sudo  gedit  /boot/grub/grub.cfg

this will open grub.cfg file in geditor.



In grub.cfg file

look for   set default=”0″
To set Linux as default OS write 0 in double quotes or 1 to set Windows OS default.

Now if you want to change Time-out time,

look for,

if [ “${recordfail}” = 1 ]; then
  set timeout=10
set timeout=10

In set timeout= Write here time in seconds after you want to start default OS

Now Restart your OS to see changes.

NOTE: Don’t change any other data in grub.cfg because this file contains configuration of grub.cfg if something goes wrong you will face problem while booting.

About pacesettergraam

A good and realistic person

Posted on January 7, 2013, in linux, ubuntu and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: