After Windows 7 is installed, grub of Ubuntu is deleted, and thus cannot enter Ubuntu. You can use the following methods to fix GRUB of version 10.04. first, use LiveCD to boot and try Ubuntu. Open the terminal input: sudofdisk-l to find the root partition and/boot partition of Ubuntu. I only have one partition, sda6. Root partition sudomount/dev/sda6/mnt (Change a6
After Windows 7 is installed, grub of Ubuntu is deleted, and thus cannot enter Ubuntu. You can use the following methods to fix GRUB of version 10.04.
First, use the Live CD pilot to try Ubuntu and open the terminal input:
Sudo fdisk-l finds the root partition and/boot partition of Ubuntu. I only have one partition, sda6.
Root Partition
Sudo mount/dev/sda6/mnt (replace a6 with your partition name)
If there is a/boot partition, enter:
Sudo mount/dev/sda6/mnt/boot
Finally, install grub,
Sudo grub-install-root-directory =/mnt // dev/sda
Restart.