Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Win7 startup item disappears after installing redat7.1

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Log in as root and edit the/boot/grub2/grub.cfg file

vim /boot/grub2/grub.cfg

Add after ###END /etc/grub.d/00_header ###

###BEGIN /etc/grub.d/30_os-prober ###

menuentry 'win7' {

insmod ntfs

set root=(hd0,1)

chainloader +1

}

###END /etc/grub.d/30_os-prober ###

Then:wq save exit

Restart to see win7 startup items and then successfully enter the system

grub2-set-default 'win7'

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report