Reply To: Dual Boot Linux on Win7 machine

Home Forums Linux Dual Boot Linux on Win7 machine Reply To: Dual Boot Linux on Win7 machine


Regardless, for most GNU/Linux systems, running these three commands should accomplish what you want.

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

The numeric prefix of the files in the /etc/grub.d directory determines the order of the boot menu. The file 30_os-prober is what scans for other operating systems (Windows) and adds them to the menu. The second command renames this file to have a higher priority than Linux (the file named 10_linux). The last command rebuilds the menu.

The commands beginning with sudo will ask you for your password. sudo gives you temporary root permissions and is needed because regular user accounts can’t modify files outside their home directory.