Windows 7 system boot issues under CentOS

Source: Internet
Author: User

Today, the notebook's Windows 7 boot was finally made, and there were some problems, so write a document to record.

There was a problem that Windows 7 could not start because CentOS was installed first. The solution to the problem has been found on the Internet, and a series of problems have arisen according to the plan

No Windows Startup items need to be modified/boot/grub2/grub.cfg

Enter sudo vi/boot/grub2/grub.cfg on the command line

In# # # begin/etc/grub.d/30_os-prober # # # add below

Menuentry ' Windows 7 (loader) (on/dev/sda1) ' {
insmod NTFS
set root= (hd0,1) #因为将Windows 7 is installed on the first partition of the hard disk, so write 1;
Chainloader +1
}
# # # end/etc/grub.d/30_os-prober # #

After you have entered the above code, restart the computer, found that the Windows 7 boot entry, click Enter, there is a problem

variable "root" isn ' t set

Please no key to continue

This problem occurs when I start the solution is to delete the file set root this line, a bit of a problem occurred

Invalid signature

Please no key to continue

The result is that the set root line is still needed, and then continue to find ways to find that some of the solutions are written differently.

Set root = (HD0,MSDOS1)

Therefore, the Windows 7 system can run correctly after the row is changed.




Of course, there are several other methods on the Internet, which are not used. According to the actual situation, improvise


This article is from the "Learn Diary of Linux" blog, please be sure to keep this source http://3378084.blog.51cto.com/3368084/1828631

Windows 7 system boot issues under CentOS

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.