我无法安装 pop_os!在安装了 Windows 的磁盘分区上

我无法安装 pop_os!在安装了 Windows 的磁盘分区上

我一直在尝试安装pop_os!几个星期了......在这一点上我感觉很愚蠢......尝试不同的解决方案,例如更改分区大小,禁用安全启动模式或Windows快速启动,试图在谷歌上找到类似的错误......没有任何效果,pop_os!安装总是在 1-2 分钟后抛出以下错误消息:

我终于收集了我的 pop_os 安装日志并截取了磁盘分区的截图:

在此输入图像描述

上面我不明白为什么 pop 强制我格式化为 ext4 分区...在 gparted 中格式化为 FAT32!所以它应该是 /boot/efi 对吗??...尝试在“用作”部分中选择“自定义”并手动输入 /boot/efi,但似乎不起作用。

请注意警告图标,是否因为它是 EFI 分区而无法读取? sda2 上的 Windows Bootloader 也有同样的警告。有2个EFI分区是不是很糟糕?另外,我知道 2GB 对于 EFI 分区来说已经很多了,但是...只是拼命尝试做一些不同的事情,我看过一些教程,其中该大小专门用于流行操作系统!...

这是我的 lsblk:

NAME         SIZE FSTYPE   MOUNTPOINT
loop0        2.5G squashfs /rofs
sda        223.6G          
├─sda1       499M ntfs     
├─sda2       100M vfat     
├─sda3     114.2G ntfs     
├─sda4         2G ext4     
├─sda5      95.7G ext4     
└─sda6        11G swap     
sdb         14.5G          //Live USB using Ventoy
├─sdb1      14.4G exfat    
│ └─ventoy   2.8G          /media/pop-os/Pop_OS 22.04 amd64 Intel
└─sdb2        32M iso9660  /media/pop-os/Pop_OS 22.04 amd64 Intel
sdc            0B 

这是日志的最后一部分,安装总是失败(完整的日志文件位于最后的谷歌驱动器链接上)。 grub 安装步骤似乎失败了,为什么要尝试在 BIOS 模式下安装?我的电脑有 UEFI。

[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "kernelstub" "--esp-path" "/boot/efi" "--add-options" "quiet loglevel=0 systemd.show_status=false splash" "--loader" "--manage-only" "--force-update" "--verbose"
[WARN distinst:crates/chroot/src/command.rs:93] chroot: fallo al ejecutar la orden «kernelstub»: No existe el archivo o el directorio
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "update-grub"
[WARN distinst:crates/chroot/src/command.rs:93] Sourcing file `/etc/default/grub'
[WARN distinst:crates/chroot/src/command.rs:93] Sourcing file `/etc/default/grub.d/init-select.cfg'
[WARN distinst:crates/chroot/src/command.rs:93] Generating grub configuration file ...
[WARN distinst:crates/chroot/src/command.rs:93] Found linux image: /boot/vmlinuz-5.19.0-76051900-generic
[WARN distinst:crates/chroot/src/command.rs:93] Found initrd image: /boot/initrd.img-5.19.0-76051900-generic
[WARN distinst:crates/chroot/src/command.rs:93] done
[INFO distinst:src/installer/steps/configure/chroot_conf.rs:289] configuring keyboard layout
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "localectl" "set-x11-keymap" "es" "" ""
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "/usr/bin/env" "-i" "SYSTEMCTL_SKIP_REDIRECT=_" "openvt" "--" "sh" "/etc/init.d/console-setup.sh" "reload"
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "ln" "-s" "/etc/console-setup/cached_UTF-8_del.kmap.gz" "/etc/console-setup/cached.kmap.gz"
[INFO distinst:src/installer/steps/configure/chroot_conf.rs:277] re-enabling update-initramfs
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "sh" "-c" "rm /usr/sbin/update-initramfs"
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "sh" "-c" "mv /usr/sbin/update-initramfs.bak /usr/sbin/update-initramfs"
[INFO distinst:src/installer/state.rs:33] starting configuring bootloader step
[INFO distinst:src/installer/steps/bootloader.rs:35] /dev/sda: installing bootloader for Bios
[INFO distinst:crates/chroot/src/command.rs:103] running "chroot" "/tmp/distinst.vZLr2nxp1R5g" "grub-install" "--recheck" "--target=i386-pc" "/dev/sda"
[WARN distinst:crates/chroot/src/command.rs:93] Instalando para plataforma i386-pc.
[WARN distinst:crates/chroot/src/command.rs:93] grub-install: aviso: esta etiqueta de partición GPT no contiene ninguna Partición de 
Arranque BIOS; el embebido no será posible.
[WARN distinst:crates/chroot/src/command.rs:93] grub-install: aviso: El embebido no es posible.  GRUB podrá ser instalado con esta
 configuración únicamente usando listas de bloques.  No obstante, las listas de bloques son INSEGURAS y su uso está desaconsejado..
[WARN distinst:crates/chroot/src/command.rs:93] grub-install: error: no se procederá con las listas de bloques.
[ERROR distinst:src/installer/state.rs:37] configuring bootloader error: command failed with exit status: exit status: 1
[ERROR distinst:src/installer/mod.rs:300] errored while installing system: command failed with exit status: exit status: 1
[INFO distinst:ffi/src/installer.rs:190] Install error: command failed with exit status: exit status: 1

完整日志: https://drive.google.com/file/d/162WdYhL4S9CNMZDtvBt8MmM4jstlNpeK/view?usp=sharing

抱歉问题的大小,但我试图提供我所拥有的所有数据,现在这是我和 pop os 之间的个人问题。感谢您的关注。

硬件:

  • 主板 Ticnova e70 SFF(具有华擎 UEFI)
  • 锐龙 5 2600
  • 16 GB 内存
  • 金士顿 240 GB 固态硬盘
  • 英伟达 GF 710 系列

答案1

这是日志文件中的提示:

[WARN distinst:crates/chroot/src/command.rs:93] Instalando para plataforma i386-pc.
[WARN distinst:crates/chroot/src/command.rs:93] grub-install: aviso: esta etiqueta de partición GPT no contiene ninguna Partición de 
Arranque BIOS; el embebido no será posible.

翻译:

Installing for i386-pc platform.
grub-install: warning: this GPT partition label does not contain any GPT partitions.
BIOS boot; embedding will not be possible.

这意味着您正在 BIOS 模式下启动安装程序并尝试对磁盘进行 UEFI 分区。安装程序尝试安装 GRUB i386-pc 但失败。

更改 BIOS 中的启动顺序并在必要时禁用旧启动。在某些主板上,如果未检测到启动选项,则/efi/boot/grubx64.efi需要手动添加。看20.04 上 UEFI 的 iso 启动问题

由于您已有一个现有的 ESP ( /dev/sda2),因此您应该重复使用它。不建议创建多个 ESP。

您还尝试创建/boot与 EFI 系统分区不同的 FAT 分区。 ESP 仅安装在/boot内部/boot/efi

相关内容