Windows Installed First
- Download the latest ubuntu release from here and write the same on usb driver via UNetbootin.
- Restart windows and change the BIOS settings to enable external drive boot and place the usb drive at first position in boot loader.
- Make 3 partitions (Root, Home, Swap) under a extended partition using gparted.
- Choose “Something Else” in step 2.
- Install Ubuntu by following the on- screen instructions.
Disable Windows Boot Loader and Enable Grub
- Log in to windows, use easybcd (or msconfig>Boot) to add and delete boot menu entries.
- Type the following commands in CMD to disable Windows Boot Menu:
- bcdedit /set {bootmgr} displaybootmenu No
- bcdedit /set {bootmgr} timeout 0
- Enable Grub by issuing following commands in terminal:
- sudo add-apt-repository ppa:yannubuntu/boot-repair
- sudo apt-get update && sudo apt-get install -y boot-repair && boot-repair
- gksu boot-repair
References: http://www.dedoimedo.com/computers/dual-boot-windows-7-ubuntu.html