In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The method to solve the disappearance of the startup item of win7 under centos
After installing CentOS 7, the original Windows 7 will not appear in the startup project. After searching online, the solution is to modify the grub.cfg file. Because CentOS 7 has adopted the new grub2 system, you need to go to the / boot/grub2 directory and use vi (or nano) to edit the grub.cfg file. :
Declare the startup entry for Windows 7 in the following paragraph:
Menuentry 'Windows 7 (loader) (on / dev/sda1)' {
Set root= (hd0,1)
Chainloader + 1
}
Add after # # END / etc/grub.d/00_header # #.
After this modification, the Windows 7 startup item can be seen after reboot, and you can also successfully enter Windows 7.
Description: set root= (hd0,1) where hd0 represents hard disk, 1 represents C disk, and my win7 is installed on C disk, so it is 1.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.