Home > System Tutorial > LINUX > body text

How to repair missing Windows startup items in CentOS 7 dual system

WBOY
Release: 2024-01-14 23:42:18
forward
605 people have browsed it

windows 7, 8/10 After installing centos7 dual system, mbr will be rewritten to grub2 by default, and the default centos7 does not recognize the ntfs partition of windows, so the startup item does not have windows. Let's go with the editor to see how to solve the problem of losing Windows startup items after centos7 dual system!

You can use 3 commands to add windows to grub2's startup items.

First make sure the Internet is open.

1.yum -y install epel-release

2.yum -y install ntfs-3g

3.grub2-mkconfig -o /boot/grub2/grub.cfg

The three commands run successfully. After restarting, you can see the startup item of Windows 7 (loader) and enter Windows.

The above is the detailed content of How to repair missing Windows startup items in CentOS 7 dual system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!