I followed the instructions here (http://thpc.info/dual/7/db_ubuntu1204_grub_lnx_on_win7.html) to set up a dual boot system with windows 7 and ubuntu mate 1.04.
Here is the specific section I followed:
SUMMARY of Procedure (Advanced Users)
- Create sufficient Unallocated space for Ubuntu 12.04 at end of first hard disk or on a second disk.
- Start installing from Ubuntu Live CD
- In "Allocate drive space", select Something else.
- Create an EXT4 partition for Ubuntu in Free space (it must be a Primary partition) - use / for Mount Point.
- Create the Swap partition - use swap area for Mount Point.
- Optionally, create another EXT4 partition for your data - use /home for Mount Point.
- In "Device for boot loader installation", select the Ubuntu EXT4 / partition, like /dev/sda3 or /dev/sdb1. Install Ubuntu.
- Reboot. Only Windows boots for now.
- Bootup from the Ubuntu Live CD and select Try Ubuntu.
- Run Ubuntu's GParted utility to mark the EXT4 partition as Active. Exit and restart computer.
That's it! Linux's GRUB2 boot loader menu will boot either Linux Ubuntu 12.04 or Windows 7 and the original MBR is unchanged. If you ever wish to return to a Windows-controlled startup, just use Disk Management to mark the originally active partition Active again - then, if you wish, you can use the free EasyBCD utility to add Linux to the Windows boot loader menu.
I currently have my hard disk setup as follows:
Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sdb2 206848 81919999 81713152 39G 7 HPFS/NTFS/exFAT /dev/sdb3 * 81920000 83091455 1171456 572M 83 Linux /dev/sdb4 83093502 312580095 229486594 109.4G 5 Extended /dev/sdb5 83093504 99106815 16013312 7.7G 82 Linux swap / Solaris /dev/sdb6 99108864 130551807 31442944 15G 83 Linux /dev/sdb7 130553856 209065983 78512128 37.4G 83 Linux /dev/sdb8 209068032 312580095 103512064 49.4G 7 HPFS/NTFS/exFAT
After firs installing windows and then installing ubuntu, the only thing I did was to boot into ubuntu with the live cd and set /dev/sdb3 as active by changing the flag option from /dev/sdb1 (100mg windows boot partition created by windows install process). This then setup the grub boot loader to manage the boot process.
/dev/sdb2 = Windows 7 /dev/sdb3 = /boot (primary partition) /dev/sdb6 = / (root partition) /dev/sdb7 = /home /dev/sdb8 = NTFS partition to share between windows and ubuntu
I started out with a fresh disk and did my partitioning with Gparted. When I initially setup my partitions, gparted did not give me the option to setup /dev/sdb8 as ntfs so I used fat32. I then formatted it to NTFS after I booted into windows.
Indeed Grub is managing my boot. I am able to select Windows 7 from the Grub menu and boot into windows 7 without any trouble. However, when I select Ubuntu, the screen hangs at the ubunt splash logo screen.
I've tried logging in with a ubuntu live cd and run boot-repair to fix any problems. However, no luck. Here are the outputs of running boot-repair:
What am I missing?