首页 > 其他 > 详细

how to update the menuentry

时间:2019-02-04 16:34:32      阅读:150      评论:0      收藏:0      [点我收藏+]
grep menuentry /boot/grub2/grub.cfg
This will display all your grub entries

Highlight the entry you want to default to - for example Windows 7 (loader) (on /dev/sda1) Right click and choose copy

Type

gedit /etc/default/grub
Change the entry

GRUB_DEFAULT=0
to

GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda1)"
i.e. paste the entry you want (including the quotes)

Save, then type

grub2-mkconfig -o /boot/grub2/grub.cfg

 

how to update the menuentry

原文:https://www.cnblogs.com/zjhangia/p/10351816.html

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