How To Change Grub Boot Order ?

How To Change Grub Boot Order ?

How to change boot order of grub in Linux Ubuntu step by step with screen shot 2016 100% working hack

Top 99 Linux operating systems according to Distrowatch [2016][Updated]
How To Change password of User if You Forgot ? [Linux] [Updated]
MySQL Installation on Ubuntu Linux distribution

Hello Friends , If you’re dual booting Ubuntu with Windows 7 or Linux operating system like Ubuntu, fedora, Zorin, Elementary, etc… Operating Systems, you may wish to change the boot order to set which OS starts by default.
Well, In this tutorial I’ll show you how to change boot order or default operating system now you just follow given simple steps.
[post_ads]

How to change grub boot order step by step:

Step 1: In order to change default boot entry, we need to [edit /etc/default/grub] file. Before starting, let’s take a backup so that if anything goes wrong, you can easily restore backup file.

[sudo cp /etc/default/grub /etc/default/grub.bak]


 

How To Change Grub Boot Order in Ubuntu ?

Step 2: Now edit the file /etc/default/grub using text editor. Here I’m edit using gedit.

[sudo gedit /etc/default/grub]

How To Change Grub Boot Order in Ubuntu ?

Step 3: Find a line GRUB_DEFAULT=0.

GRUB menu indexing starting from zero (0). This means, if there are ‘N’ entries in the GRUB menu, the first entry is indexed as 0 (Zero) and second is 1 (One) and so on, and the last one is indexed as ‘N-1’.

Step 4: Now, if you want to make ‘Windows 10’ as default OS, Which is listed at 5th position in grub loader then index number is 4. So, replace the 0 by 4 GRUB_DEFAULT=4.
 

How To Change Grub Boot Order in Ubuntu ?

Step 5: Save the file and close, For the changes made are not implemented yet, run the following command to implement:

[sudo update-grub]


How To Change Grub Boot Order in Ubuntu ?

And you’re done!!!

Screenshots:

Note: This method will not change the order of the entries in the GRUB menu, but it would certainly boot the selected operating system.


COMMENTS

WORDPRESS: 0
DISQUS: 0