1. 摘要
每次启动都要抢在10秒倒计时之内切换到Windows启动项,有点抢时间,本篇文章主要介绍了默认启动Windows系统设置并修改延迟时间,通常修改grub配置,选择时间为20s,加载grub配置就可以默认切换到Windows系统。
2. 具体实现
2.1 打开grub配置
先启动系统终端,
输入查看时间指令:sudo gedit /etc/default/grub
grun文件如下
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"
2.2 修改默认启动
在开始启动的时候,Ubuntu默认为第0位,windows 10是第4项,大家根据自己的情况设置。
修改后的grub文件,设置Windows 10 为默认启动项,延迟调为20
- GRUB_DEFAULT=4
- GRUB_TIMEOUT=20
然后保存重启生效
4. 总结
非常感谢各位大佬的支持,特别是《机器人工匠阿杰》UP主,到这里经典Ubuntu启动菜单的默认项就算完成了。大家快去探索Ubuntu系统的乐趣吧!🥳🥳🥳我们实现对外部世界进行感知🎏,充分认识这个有机与无机的环境🌻,科学地合理地进行创作和发挥效益🛹,然后为人类社会发展贡献一点微薄之力。🏃♂️🏃♂️🏃♂️