windows7 安装ubuntu 18后的启动

我的电脑ASUS K55VD 原来是windows7 系统, 安装了ubuntu 18.04, 开始装不上显示无法安装到 /target, 连网后安装,ubuntu的安装程序会在网上下载一些更新,这些更新能够正常的安装grub, 但是在gru菜单中找不到windows的选项.

多方搜索无果.

最后在https://superuser.com/questions/1247300/how-to-make-uefi-bios-start-grub-not-windows

找到了相关答案

  • efibootmgr -- This Linux tool can adjust the boot order. Begin by typing sudo efibootmgralone to see the options. Note the number (Boot####) associated with the ubuntu entry, and the current boot order (on the BootOrder line). You can then enter a new boot order with the ubuntu entry at the top by using the -o option. For instance, if the current boot order is 0000,0003,0007,0004 and ubuntu is 0007, you'd type sudo efibootmgr -o 0007,0000,0003,0004 to adjust the boot order.
along@along-K55VD:~$ efibootmgr
BootCurrent: 0005
Timeout: 3 seconds
BootOrder: 0002,0006,0005
Boot0002* Hard Drive 
Boot0005* ubuntu
Boot0006* CD/DVD Drive 

执行命令后,显示当前的启动项和启动顺序.

sudo efibootmgr -t 3

指定timeout 是3秒

sudo efibootmgr -o 0002,0005

指定原来的硬盘启动作为首选项.开机时按Esc,即可看到启动项.也可以按键盘上下键,进行选择.

问题解决.

猜你喜欢

转载自blog.csdn.net/v6543210/article/details/83241659
今日推荐