Ubuntu 14.04.02 LTS startup Item written by mistake/dev/sda1 (win 7 loader) Fix, 14.04.02sda1

Source: Internet
Author: User

Ubuntu 14.04.02 LTS startup Item written by mistake/dev/sda1 (win 7 loader) Fix, 14.04.02sda1

Problem description:

Install Ubuntu14.04 in win7. Due to the incorrect startup Item/boot loader installation location (/dev/sda1 (win 7 loader), Windows cannot be accessed (the win7 boot option can be displayed on the GRUB interface, after clicking it, the black screen flashes a few times and returns to the GRUB Interface), but the Ubuntu system can be used normally.

 

Solution:

It took more than two hours to solve the problem through the experience of many predecessors of baidu. It was amazing to see the Windows interface! The perfect solution is as follows:

 

1. Enter the Ubuntu environment;

2. Open the terminal (alt + ctl + t) and enter sudo grub-install/dev/sda;

3. download the latest version of grub4dos (http://download.gna.org/grub4dos/), decompress the file, copy bootlace.com to the user directory/home (open the new terminal, enter ls, see bootlace.com );

4. Enter chmod + x./bootlace.com on the terminal;

5. Enter sudo./bootlace.com-floppy-ntfs/dev/sda1 on the terminal;

6. Go to the Windows folder on the System Disk in Ubuntu, find the bootmgr file, copy and rename it grldr;

7. Terminal input: sudo update-grub;

 

Thank you: this blog post has been posted on the iron mark and Ubuntu Chinese Forum. Thank you for this.

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.