I wanted to have a dual boot. I have Windows 7 initially installed, then I installed Ubuntu 12.10 in a different partition and now it automatically boots to Ubuntu 12.10 without having a boot menu. Now, I don't know how I can go back to Windows 7. Please help me, how can I see the boot menu that allows me to choose which OS to load?
migrated from stackoverflow.com Dec 15 '12 at 18:02
This question came from our site for professional and enthusiast programmers.
You need to modify the grub menu (/etc/grub.d/40_custom) : http://ubuntuforums.org/showthread.php?t=1817827
Something like this: (modify it for the partition where your Windows 7 is installed)
First you change the GRUB configuration:
nano / etc / default / grub
GRUB_TIMEOUT = 10
Where are the seconds value 10 appears to boot menu.
GRUB after upgrade
You can repair MBR using a Windows 7 installation USB/DVD On command prompt:
bootsect /nt60 all
This will allow you to boot to Windows 7 again.
To add Ubuntu to Windows boot menu see Dual boot Windows 7 and Linux (Ubuntu, Fedora etc.)