码迷,mamicode.com
首页 > 其他好文 > 详细

双系统

时间:2017-10-07 16:26:16      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:win   conf   des   ide   srv   wifi   bin   tom   after   

[root@MiWiFi-R2D-srv ~]# vi /etc/grub.d/40_custom


 

 

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the ‘exec tail‘ line above.
menuentry ‘Windows7‘{
    set root=(hd0,1)
    chainloader +1
}
~                                                                               
~                                                                              

 

 

[root@MiWiFi-R2D-srv ~]# grub2-mkconfig -o /boot/grub2/grub.cfg

 

 

 

[root@MiWiFi-R2D-srv ~]# reboot

 

 

 

 

双系统

标签:win   conf   des   ide   srv   wifi   bin   tom   after   

原文地址:http://www.cnblogs.com/liweiming/p/7634615.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!