Warning: is_readable(): open_basedir restriction in effect. File(C:\wwwroot\hegu.app/wp-content/plugins/C:\wwwroot\hegu.app\wp-content\plugins\wp-china-yes/languages/wp-china-yes-zh_CN.mo) is not within the allowed path(s): (c:/wwwroot/hegu.app/;C:/Windows/Temp/;C:/Temp/;C:/BtSoft/temp/session/) in C:\wwwroot\hegu.app\wp-includes\l10n.php on line 783
修改ubuntu 20.04默认的引导项 - 何故

修改ubuntu 20.04默认的引导项

2020年6月5日 5468点热度 7人点赞 0条评论

安装ubuntu的大多同学都会选择win+ubuntu双系统,然而安装ubuntu后默认会设置ubuntu为默认启动的系统,下面方法可以设置windows操作系统为首选项。

一、记录开机时windows系统是第几个。
二、开机进入ubuntu操作系统
Ctrl+Alt+T进入终端
输入如下命令

sudo gedit /etc/default/grub

输入密码后会打开一个窗口

找到GRUB_DEFAULT=0
将0改为第一步记录的windows系统所在位置减1,(如:我的windows操作系统在第3项,那么我 就改为2)
点击右上角的保存,然后关闭窗口
返回终端,输入如下命令

sudo update-grub

重启,就完成了

大魔王

这个人很懒,什么都没留下

文章评论