Modify the Windows/Linux Mint dual boot

Solved
Duno59 Posted messages 876 Registration date   Status Membre Last intervention   -  
52tonio Posted messages 1 Status Membre -
Hello,
I am dual booting Windows 10 and Linux Mint Cinnamon. Both are working fine. I just want to change the boot priority in Grub so that Windows is prioritized. While searching, I found an article on CCM explaining how to do it, on this page: https://www.commentcamarche.net/faq/1178-bootloader-dual-boot-changer-le-systeme-demarre-par-defaut
The problem is that the article may not be recent because I can't find the indicated files even when searching by name across the entire disk. I do have some similar names but without the specific lines mentioned for modification.
Does anyone among you have a solution to propose? Thank you in advance.

A small detail that may be important, both OS are installed on the same hard drive in MBR

2 réponses

CrazyGeekMan Posted messages 971 Status Membre 140
 
Good evening,

I think you will find what you're looking for with Grub Customizer: https://doc.ubuntu-fr.org/grub-customizer

“Move them with the arrows to arrange them in the order of your choice (The system placed at the top will be the one that boots by default)”

I remember I used it to remove entries in grub that I didn't need :)
--
I hope I was helpful :)
1
Raas
 
Hello,

From a terminal:

cd /etc/grub.d
sudo mv 30_os-prober 08_os-prober
sudo update-grub


Windows will be placed at the top and will start automatically after the countdown.
1
52tonio Posted messages 1 Status Membre > Raas
 

Thank you for this information. On my side, I want to do the opposite. I am dual booting Windows 10 and Linux Mint 20.3 Una based on Ubuntu 20.04. Some time ago, I changed the boot order and now my computer starts under Windows 10. But ultimately, this doesn't suit me. So, I want to go back and set the automatic boot back to Linux Mint. I've searched various forums and haven't found a solution. If any of you can help me, that would be perfect. Have a great day, everyone.

0
Duno59 Posted messages 876 Registration date   Status Membre Last intervention   300
 
Thank you Raas.
I just tested the command lines. It works perfectly. Windows starts up automatically after the countdown or as soon as I press Enter since it is offered first.
0
Raas
 
For a backward step, same commands by reversing 08 and 30.
0