Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alazyer/8434571 to your computer and use it in GitHub Desktop.
Save alazyer/8434571 to your computer and use it in GitHub Desktop.
安装完win7后,再安装Ubuntu默认启动项则成了ubuntu,要想改成默认启动win7的话需要对ubuntu中配置文件进行修改。
sudo gedit /boot/grub/grub.cfg
将 set default="0" 改为 set default="4"即可。
原来的0表示开机的时候选择的是第一个启动项,即Ubuntu,
改为4后就是我们想要的win7了。中间还有三个分别是
advanced option for Ubuntu,
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment