How do I fix booting process in Ubuntu 12.04 after the windows7 removed?
Try Boot-Repair.
Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
You can either install Boot-Repair, or download it, and boot from the CD.
To install it, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && (boot-repair &)
Source:Boot-Repair
The boot manager for Ubuntu, GRUB2, was probably broken when you removed windows. Try using Boot Repair to fix it. First boot to the Ubuntu live CD. Open a terminal window and run the following code to install and run boot repair:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair
Then follow the instructions and options in the program to repair your boot.
You can visit http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/ for more information.