您的位置:首页 > 运维架构 > Linux

如何解决Windows1 4000 0下安装Ubuntu16.04双系统后没有Ubuntu引导

2017-09-16 15:17 776 查看
原文出处:http://blog.sina.com.cn/s/blog_751bd9440102xhlv.html



电脑上原本安装了Win10,突发奇想想装一个ubuntu16.04双系统,那么就开始吧!!!

安装步骤没什么说的,网上多得很。按照网上教程在磁盘中压缩了65G的空间并且不需要给他新建卷标,就让他显示空闲就好了。然后就是使用UltraISO刻录U盘启动盘,开机选择U盘uEFI启动,直接安装。安装时会有一些设置,没啥说的,只是在选择安装方式时就要注意了,只需要选择“安装Ubuntu,与windows共存”,这里不用担心,C盘已经安装了Win10,ubuntu 会自己安装在之前压缩出来的空闲目录下的。完了就是设置安装选项,没什么好说的。等待安装完成重启。然后我就遇到一个问题,就是开机时并没有ubuntu的引导,也就是说她并没有让我选择启动ubuntu还是启动windows,他直接启动windows了。下面就是解决方法,简单到哭:
https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/
Note: If after installing Ubuntu, you boot directly in Windows, check in UEFI settings for changing the boot order. If you see no option to set the boot to Ubuntu, you need to fix it from within Windows. When you are in Windows desktop, hover the mouse in left
corner, right click and select administrator’s command prompt. Then run the following command:

bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
This should make the Grub default and hence you can access both Ubuntu and Windows from it.

这个页面的信息最为重要,也就是安装好了之后,以管理员的身份在cmd中敲入命令:

bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi

然后重启就有ubuntu引导了,亲测有效(当然也有其他方法,这个算是简单的了)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Linux ubuntu windows
相关文章推荐