I was using Windows 10 Pro on my Dell Latitude 3340 Laptop but due to some work requirement I needed to install Ubuntu 22.04, details to is available in my earlier blog-post "Dual Boot Windows and Ubuntu (Solved)". After the installation, the default OS in boot menu displayed by GRUB 2 is Ubuntu which sometimes irritates as most of my work is being handled in the Windows environment, moreover, i wanted to change the delay time from 30 seconds to 10 seconds in order to avoid further unnecessary delay. So, as usual, i went across the google and watched multiple videos and blogs in order to see the correct method of solving my problem. The easiest and the ultimate way of changing the boot order in GRUB 2 is presented below:
1. You will need "grub-customizer" for the subject task.
Note: grub-customizer is not available in the distribution packages and cannot be installed with simple "sudo apt install grub-customizer" command at terminal. The package is available in earlier distributions of Ubuntu, specifically in "danielrichter2007". So instead of using "sudo apt install grub-customizer" command, you will have to use the following command:
"sudo add-apt-repository ppa:danielrichter2007/grub-customizer"
Adding Repository to Ubuntu |
Above command will add the repository and Ubuntu will automatically update the repository cache which means now you can install the grub-customizer using following command
"sudo apt install grub-customizer"
Successful Installation of GRUB-CUSTOMIZER |
2. Open the Grub-customizer from menu, you will see the List Configurations tab at the front with the list of options as shown in picture below:
Grub-Customizer Screen - List Configurations |
3. Select desired OS and use Up or Down Arrow Keys for its position. Click Save to save your configurations as shown in the picture below:
Change the Boot Order and Save Settings |
Tada, you have changed your boot order. You can do it as many times as you want and the way you want your OS to boot.
Second Tab is about the general settings like, look for Operating Systems or Change default wait time etc., picture is shown below:
Grub-customizer General Settings Tab |
If in case you want to remove grub-customizer from your machine, use following command:
"sudo apt remove grub-customizer"
I hope this would be helpful to you.
Regards
Comments
Post a Comment