zoukankan      html  css  js  c++  java
  • rEFI引导Win10+Ubuntu14双系统

    公司买了一台Alienware 15 R2,安装双系统折腾死我了,现在记录一下安装过程。

    硬盘:

      256固态+1T机械

    安装顺序:

      先Windows,再Ubuntu

    不同BIOS启动方式下安装系统

      UEFI+secure on:无grub菜单,通过修改boot order能进入windows或者ubuntu

      UEFI+secure off:无grub菜单,能进入windows,无法进入ubuntu

      Legacy only:无grub菜单,能进入windows,无法进入ubuntu

    可能问题原因

      使用easyBCD查看启动项,发现ubuntu的的启动分区居然在“MBR磁盘”,但是我明明装在了GPT格式的硬盘,猜测可能是ubuntu(grub)未能正确识别部分品牌的ssd导致。

    重新安装系统

      考虑到以后肯能会扩展磁盘,还是选择了支持GPT的UEFI启动。UEFI+secure off,先Windows后Ubuntu。考虑到grub无法正确引导,查了番资料后决定使用rEFInd引导。

    使用rEFInd引导

    1.用管理员权限打开 CMD,输入diskpart  启动diskpart

    list disk-------------------------  列出系统中拥有的磁盘
    select disk 0-------------------- 选择EFI引导分区所在的磁盘,请根据实际情况选择
    list partition-------------------- 列出所选磁盘拥有的分区
    select partition 1---------------选择EFI引导分区,类型为系统的分区,就是EFI引导分区
    assign letter=p: ----------------为所选分区分配盘符,请分配空闲盘符
    exit -------------------------退出
    taskkill /im explorer.exe /f   --------------------关闭explorer,
    explorer.exe ------------------------------再以管理员身份打开explorer就可以访问了。

    remove letter=p----------------修改完成后,移除盘符(如果不移除,重启计算机以后,会自动移除)

    2.下载rEFInd,将其加入到EFI引导盘中

    cd c: efind-bin-0.8.4  --------------------当你输入 dir 命令,你可以看到一个refind目录

    xcopy /E refind p:EFI efind   -------------------- 将refind拷贝到EFI引导区 

    cd p:EFI efind

    rename refind.conf-sample refind.conf  --------------------重命名示例配置文件 

    bcdedit /set {bootmgr} path EFI efind efind_x64.efi --------------------将rEFind设置为引导程序

    重启电脑,就可以看到refind引导的windows、grub、ubuntu啦~

  • 相关阅读:
    python数据表的合并(python pandas join() 、merge()和concat()的用法)
    The What, Why, and How of a Microservices Architecture
    解析“60k”大佬的19道C#面试题
    Why can two different enum enumeration-constants have the same integer value?
    What are the benefits of using Dependency Injection and IoC Containers?
    Why does one use dependency injection?
    Why would one use a third-party DI Container over the built-in ASP.NET Core DI Container?
    Using Dependency Injection without any DI Library
    日历版本的实施方案
    Disposal
  • 原文地址:https://www.cnblogs.com/shishiteng/p/5760345.html
Copyright © 2011-2022 走看看