After Windows 7 is reinstalled, install grub to enter ubuntu.

Source: Internet
Author: User
Windows 7 is reinstalled. Because the MBR boot area of the hard disk is overwritten and the hard disk cannot enter Ubuntu, you can only update the MBR again. The procedure is as follows: 1. after setting the hard disk to start, put it into Ubuntu's livecd. Wait a moment and you will be able to enter the Ubuntu operation interface 2. open the system terminal window, enter sudo fdisk-l, and your hard disk partition will be displayed. Write down the Partition Number named Linux, my options are/dev/sda43.sudo-I or sudo-s-h to get administrator permissions. 4. mkdir/Media/tempdir create a temporary directory under the/Media Directory to mount the/dev/sda45. LINUX partition later, mount/Media/tempdir/dev/sda46.grub-install -- root-directory =/Media/tempdir/dev/SDA. Restart to see the boot selection Interface
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.