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,即可看到启动项.也可以按键盘上下键,进行选择.

问题解决.

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

路边闲人2

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值