I earlier had Windows 7 installed on my laptop...then installed Windows 8 with dual boot setup on a different partition.
Then I didnt like windows 8 so much and decided it to replace with ubuntu 12.04. So I booted into Live CD and formatted my Windows 8 partition to ext4. Set mountpoint as /. and installed Ubuntu succesfully.
Then when I booted the computer. It detects the Windows 8 system and not Windows 7 which is actually present on my lappy.
When i click on Windows 8 entry in Grub2. It takes me to Windows 8 repairing stuff. How can i get my system to dual boot Windows 7 and Ubuntu?