Linux & windows 双系统时,将windows 设置为默认系统
2012-01-08 16:17
465 查看
Set Windows as Default
OS when Dual Booting Ubuntu
When you install a dual-boot of Ubuntu, one of the frustrating things that you’ll immediately notice is that Ubuntu is now set as the default operating system in the Grub loader. There’s an easy way to switch back to using Windows as the default.To make this change, you’ll first have to boot into Ubuntu, and then run the following command:
sudo gedit /boot/grub/menu.lst
Find this section of the file:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify ‘saved’ instead of a number. In this case, the default entry
# is the entry saved with the command ‘savedefault’.
# WARNING: If you are using dmraid do not change this entry to ‘saved’ or your
# array will desync and will not let you boot your system.
default 0
The important line is the last one. You will need to change that number 0 to match the Windows boot section. Typically it’s always going to be 4 on a default dual-boot configuration. Change this value to 4, and then save and reboot your machine. You should
go into Windows instead of Ubuntu automatically.
Note: The blocks at the bottom of the file match the items in the menu. You can change this value to match whichever item you want as default, just remember that numbering starts at 0.
相关文章推荐
- windows双系统卸载linux ubuntu设置默认启动xp
- linux和windows双系统设置默认启动系统
- windows双系统卸载linux ubuntu设置默认启动xp
- linux和windows双系统设置默认启动系统
- linux和windows双系统设置默认启动系统
- windows&linux设置系统自动退出时间(无操作超时设置)
- unix->unix/linux操作系统的功能及和windows系统的比较
- 我的Android进阶之旅------>Android系统设置默认来电铃声、闹钟铃声、通知铃声
- linux虚拟系统与windows主机共享文件之用vmware-tools设置实现
- 通过修改grub设置Linux和Windows等多个系统的启动顺序变更和删除
- Windows, linux 系统时间时区设置
- Windows系统默认调试器设置
- Windows和Linux怎么设置系统PATH
- linux上修改系统默认语言设置
- windows和ubuntu双系统时设置默认windows启动 【转载】
- Linux系统的默认编码设置
- 双系统 如何在安装linux后将开机默认启动还原为windows
- 如何在安装了双系统的机器上修改默认启动系统(Linux,Windows)
- linux 更改系统默认运行级别方法(…
- 修改 linux 默认启动级别 设置系统时间 定时关机