Make windows in default boot in ubuntu and windows

When we have dual boot systems in our personal computer, then We have faced a problems. The problems is which OS are boot in first time. Now I fixed this problems. And give you a solution below...

First Open your Terminal, and write this command...
 
fgrep menuentry /boot/grub/grub.cfg
 
This will display all your install OS. Now you can select at your choice-- 


Now you can copy Windows 10 (on /dev/sda1). 
And now write this command...
 
 sudo gedit /etc/default/grub


Change the entry
 
GRUB_DEFAULT=0

to
 
GRUB_DEFAULT="Windows 10 (on /dev/sda1)"
 
And finally place a command like this...
 
sudo update-grub

Comments

Popular posts from this blog

Install Oracle JDK and declaring path in Linux Operating System (Ubuntu 18.04)

Install Flutter SDK and Permanently set the path in your CentOS or any others Linux Distro

How to Downloads videos from youtube or others Video streaming Site in CentOS or any Linux Systems