i'm using dual boot and i want to use windows 7 as the default operating system.So how can i change default OS of GRUB Boot loader?
Asked
Active
Viewed 7.8k times
2 Answers
8
use grub-set-default
$ sudo grub-set-default ENTRY
ENTRY is a number or a menu item title
or edit /boot/grub/grub.cfg
sudo chmod +w /boot/grub/grub.cfg
sudo vi /boot/grub/grub.cfg
change "0" in line: set default="0" to your choice
sudo chmod -w /boot/grub/grub.cfg

Karim
- 96
- 1
2
How do I set Windows to boot as the default in the boot loader?
This question was discussed previously and a detailed answer could be found here...
How do I set Windows to boot as the default in the boot loader?

Kanak Saha
- 31
- 3
Example: GRUB_DEFAULT="Windows Vista (loader) (on /dev/sdc1)"
– Gibado Oct 12 '16 at 02:36