win10 修复efi_Windows 10升级后修复EFI Bootloader

win10 修复efi

(TLDR: bootctl --path=/path/to/esp-partition install)

(TLDR: bootctl --path = / path / to / esp-partition install

Besides my Arch Linux installation, I have a partition that runs Windows (primarily to play Age of Empires II). Today I upgraded to Windows 10, which – as expected – overwrote the EFI bootloader.

除了我的Arch Linux安装之外,我还有一个运行Windows的分区(主要是玩帝国时代II )。 今天,我升级到Windows 10,正如预期的那样,它覆盖了EFI引导加载程序。

This guide will work if you’re using either Gummiboot or systemd-boot. (Gummiboot was merged into systemd-boot, so by running the following commands you’re doing an upgrade as well.)

如果您使用Gummibootsystemd-boot,那么本指南将适用。 (Gummiboot已合并到systemd-boot中,因此,通过运行以下命令,您也将进行升级。)

How to fix the bootloader:

如何修复引导程序:

  • Download the current Arch Linux ISO: https://www.archlinux.org/download/
  • Flash it to an USB drive: dd if=path-to-iso.img of=/path/to/usb-drive bs=8M
  • Boot from the USB drive (choose the EFI option in the boot menu)
  • Find your EFI partition using fdisk -l. You will recognize it by the partition type, which is EFI System.
  • Create a mountpoint for the partition: mkdir /efi
  • Mount the partition: mount /path/to/efi-partition /efi
  • Make sure that the now mounted /efi directory contains the EFI subdirectory.
  • (Re-)Install systemd-boot: bootctl --path=/efi install
  • Reboot
  • 下载当前的Arch Linux ISO: https : //www.archlinux.org/download/
  • 将其刷新到USB驱动器: dd if = path-to-iso.img of = / path / to / usb驱动器 bs = 8M
  • 从USB驱动器启动(在启动菜单中选择EFI选项)
  • 使用fdisk -l查找您的EFI分区。 您将通过分区类型EFI System识别它。
  • 为该分区创建安装点: mkdir / efi
  • 挂载分区: 挂载/ path / to / efi-partition / efi
  • 确保现在挂载的/ efi目录包含EFI子目录。
  • (重新)安装systemd-boot: bootctl --path = / efi install
  • 重启

翻译自: https://www.pybloggers.com/2016/06/fixing-efi-bootloader-after-windows-10-upgrade/

win10 修复efi

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值