Posts

Showing posts from July, 2011

Making Windows the default boot option in Grub2

This might be easy to some but it sure took me a long time. By default, if you dual-boot Ubuntu and any version of Windows (XP/Vista/7) by installing Ubuntu AFTER installing Windows, Grub2 will be installed on the master boot record (MBR) and the smart scripts in Ubuntu will ensure that your Windows installation is found and added to the menu. However, the default option is the latest Ubuntu you have on your machine, not Windows. If you follow the Ubuntu Community guide for Grub2 , you could either set the GRUB_DEFAULT option to the menu position of your Windows installation or the exact menu label. e.g. GRUB_DEFAULT=7 (if your Windows installation is 7th on the Grub list) or GRUB_DEFAULT="Windows 7 (loader) on /dev/sda1" An alternative method as outlined by avid (in the comments) on Changing the Default Boot with Ubuntu 9.10 GRUB 2 is to rename one file in /etc/grub.d/ and Windows will be the first listed option in the Grub menu - which is also the default option. In his...