首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >删除了Windows EFI分区,怎么办?

删除了Windows EFI分区,怎么办?
EN

Unix & Linux用户
提问于 2021-10-03 05:48:18
回答 1查看 2.8K关注 0票数 2

我在双引导系统中安装了Pop。

以前,我的EFI分区大约是250 my。Pop安装程序告诉我它太小了。因此,我没有调整大小和移动(由于数据丢失和Windows没有启动),而是删除了以前的EFI分区,并创建了一个新的EFI分区以供安装。

efibootmgr的输出:

代码语言:javascript
复制
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0006,0007,0002
Boot0002* Windows Boot Manager
Boot0006* Pop!_OS 20.04 LTS
Boot0007* UEFI OS

bootctl的输出:

代码语言:javascript
复制
System:
     Firmware: UEFI 2.70 (American Megatrends 5.13)
  Secure Boot: disabled
   Setup Mode: user

Current Boot Loader:
      Product: systemd-boot 245.4-4ubuntu3.6pop0~1617377648~20.04~eafddeb
     Features: ✓ Boot counting
               ✓ Menu timeout control
               ✓ One-shot menu timeout control
               ✓ Default entry control
               ✓ One-shot entry control
               ✓ Support for XBOOTLDR partition
               ✓ Support for passing random seed to OS
               ✓ Boot loader sets ESP partition information
          ESP: /dev/disk/by-partuuid/06919b6c-bed1-461e-9b6d-04dc9597fd38
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

Random Seed:
 Passed to OS: yes
 System Token: set
       Exists: yes

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/06919b6c-bed1-461e-9b6d-04dc9597fd38)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 245.4-4ubuntu3.6pop0~1617377648~20.04~eafddeb)
         File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 245.4-4ubuntu3.6pop0~1617377648~20.04~eafddeb)

Boot Loaders Listed in EFI Variables:
        Title: Pop!_OS 20.04 LTS
           ID: 0x0006
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/06919b6c-bed1-461e-9b6d-04dc9597fd38
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

        Title: UEFI OS
           ID: 0x0007
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/06919b6c-bed1-461e-9b6d-04dc9597fd38
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loader Entries:
        $BOOT: /boot/efi (/dev/disk/by-partuuid/06919b6c-bed1-461e-9b6d-04dc9597fd38)

Default Boot Loader Entry:
        title: Pop!_OS
           id: Pop_OS-current.conf
       source: /boot/efi/loader/entries/Pop_OS-current.conf
        linux: /EFI/Pop_OS-39f0e06d-54c4-4fd3-af74-605fcd37bc55/vmlinuz.efi
       initrd: /EFI/Pop_OS-39f0e06d-54c4-4fd3-af74-605fcd37bc55/initrd.img
      options: root=UUID=39f0e06d-54c4-4fd3-af74-605fcd37bc55 ro quiet loglevel=0 systemd.show_status=false splash

EFI变量中没有Windows。我把systemd的超时时间增加到了5秒,现在我看到了Pop操作系统和引导到系统固件。

答案需要Windows分区,我将其删除。有办法在系统引导中获得Windows条目吗?

(如果是重要的话):

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-10-03 07:31:10

这个答案在askUbuntu上中,我使用TestDisk恢复已删除的EFI分区中的数据。

我在已删除的EFI分区中从/boot/efi/EFI复制了微软文件夹,并将其复制到相同的目的地,但在新的efi分区中。还有沃拉!Windows Boot Manger出现在系统启动菜单中。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/671607

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档