首页 > 其他 > 详细

双系统

时间:2017-10-07 15:34:34      阅读:203      评论:0      收藏:0      [点我收藏+]
[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

 

 

 

 

双系统

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!