Problem description
Solution:Use the gparted software to route this to the ubuntu system. Step 3, use the grub repair technology to fix the damaged grub.
Procedure:
Step 1:Draw a piece under win7
Log on to win7 and choose> (right-click) --> (select a non-system disk with more space, such as drive D, and right-click it)
Step 2:Use the gparted software to divide the available space into ubuntu Systems
Download gparted http://gparted.sourceforge.net/liveusb.php
2. (I select: Windows Method D: LinuxLive USB Creator, follow Step 1 in Method D) http://www.linuxliveusb.com/
3. http://gparted.sourceforge.net/download.php (by Step 2 in method D) (Select Download gparted-live-0.18.0-1-i486.iso)
4. (follow Step 3 in method D) install GParted Live on your USB flash drive.
5. (set USB boot priority in BIOS. Generally, after 2010, the computer automatically recognizes USB boot, so you do not need to set BIOS)
Follow the prompts to select the default software interface.
Select the partition to be adjusted (for example,/dev/sda3) --> (in the displayed dialog box, you can directly adjust the partition size by dragging the boundary of the slider)
8. (close the dialog box). gparted displays the operation to be completed in the prompt area.
Click "apply" gparted to confirm the corresponding operation)
Click "Apply" gparted to start partition size adjustment.) Note that gparted may take a long time to complete the operation, depending on the size of your hard disk. Wait patiently.
11. Finally, gparted prompts that the operation has been completed. Remove the USB flash drive, restart the system, and go to step 3.
Step 3:Finally, the grub repair technology is used to repair the damaged grub.