Created
October 20, 2014 23:35
-
-
Save yushiro/932746114b25fd527c8d to your computer and use it in GitHub Desktop.
ubuntu 11.04 中 修改grub2 菜单中默认启动项的方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在grub2中,修改这个要复杂一些, | |
具体方法是,首先打开 | |
1、gedit /boot/grub/grub.cfg | |
参看要被设置成默认启动的系统的序号是多少,注意,这个顺序是从0开始的是, | |
(这里手动数出来自己要设置的系统是第几个需要多注意一些) | |
2、然后打开 gedit /etc/default/grub | |
修改 GRUB_DEFAULT=0 中的 0值为你数出来的那个默认启动系统的值,修改后保存关闭 | |
3、运行 sudo update-grub | |
大功告成。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment