双系统

Posted 李伟铭

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了双系统相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# 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
}
~                                                                               
~                                                                              

 

 

[[email protected] ~]# grub2-mkconfig -o /boot/grub2/grub.cfg

 

 

 

[[email protected] ~]# reboot

 

 

 

 

以上是关于双系统的主要内容,如果未能解决你的问题,请参考以下文章