Recover Ubuntu Startup items and fix boot in Ubuntu after reloading Win7

Source: Internet
Author: User
  1. Enter $ sudo-i (this step is used to get root privileges for the following operations.) )

  2. Enter $ mkdir/media/tempdir (Create a folder TempDir to mount just the sda10, this folder name you can depend on personal interests, not too many requirements. )

  3. Enter $ mount/dev/sda10/media/tempdir (the sda10 is mounted under the TempDir folder. )

  4. Enter $ grub-install--ROOT-DIRECTORY=/MEDIA/TEMPDIR/DEV/SDA (This step is used to reinstall the GRUB2 to the hard drive master boot record inside the MBR, note/media/tempdir and/DEV/SDA There is a space between the root front two horizontal line for two parameters)

    Enter later if "Installation finished.no error reported" appears. character, it means that the operation was successful.

Recover Ubuntu Startup items and fix boot in Ubuntu after reloading Win7

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.