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

how to update the menuentry

时间:2019-02-04 16:49:43      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:display   type   isp   example   click   nbsp   update   menu   dev   

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

标签:display   type   isp   example   click   nbsp   update   menu   dev   

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

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