Ubuntu Preseed i386 UEFI PC尝试安装64Bit-> grub-efi-amd64-signed失败

时间:2019-02-21 10:25:06

标签: ubuntu x86 grub2

我正在尝试将i386 Ubuntu 18.04.2预置到具有64 UEFI Bit的PC上。

安装失败,安装程序尝试安装grub-efi-amd64-signed。

如何使GRUB配置为从64位GRUB引导32位OS。

从系统日志中,我看到以下grub参考。

Feb 21 09:45:04 grub-installer: info: architecture: i386/efi
Feb 21 09:45:05 in-target:   multiboot-doc grub-emu xorriso desktop-base
Feb 21 09:45:05 in-target:   grub-common libfreetype6
Feb 21 09:45:05 in-target: Get:2 http://au.ubuntu.com/ubuntu bionic-updates/main i386 grub-common i386 2.02-2ubuntu8.12 [1,865 kB]
Feb 21 09:45:06 in-target: Selecting previously unselected package grub-common.^M
Feb 21 09:45:06 in-target: Preparing to unpack .../grub-common_2.02-2ubuntu8.12_i386.deb ...^M
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Installing grub-common (i386)
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Preparing grub-common (i386)
Feb 21 09:45:06 in-target: Unpacking grub-common (2.02-2ubuntu8.12) ...^M
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Unpacking grub-common (i386)
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Preparing to configure grub-common (i386)
Feb 21 09:45:06 in-target: Setting up grub-common (2.02-2ubuntu8.12) ...^M
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Configuring grub-common (i386)
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Configuring grub-common (i386)
Feb 21 09:45:06 debconf: --> DATA debconf-apt-progress/info description Installed grub-common (i386)
Feb 21 09:45:07 in-target: grub-common is already the newest version (2.02-2ubuntu8.12).
Feb 21 09:45:07 grub-installer: info: Identified partition label for /dev/sdb2: gpt
Feb 21 09:45:07 debconf: --> PROGRESS START 0 6 grub-installer/progress/title
Feb 21 09:45:07 debconf: --> SUBST grub-installer/progress/step_install GRUB grub2
Feb 21 09:45:07 debconf: Adding [GRUB] -> [grub2]
Feb 21 09:45:07 debconf: --> PROGRESS INFO grub-installer/progress/step_install
Feb 21 09:45:07 grub-installer: dpkg: warning: ignoring request to remove grub-pc-bin which isn't installed
Feb 21 09:45:07 grub-installer: dpkg: warning: ignoring request to remove grub-pc which isn't installed
Feb 21 09:45:07 grub-installer: dpkg: warning: ignoring request to remove grub-gfxpayload-lists which isn't installed
Feb 21 09:45:08 in-target: Package grub-efi-amd64-signed is not available, but is referred to by another package.
Feb 21 09:45:08 in-target: E: Package 'grub-efi-amd64-signed' has no installation candidate
Feb 21 09:45:09 grub-installer: info: Calling 'apt-install grub-efi-amd64-signed' failed
Feb 21 09:45:09 debconf: --> SUBST grub-installer/apt-install-failed GRUB grub-efi-amd64-signed
Feb 21 09:45:09 debconf: Adding [GRUB] -> [grub-efi-amd64-signed]
Feb 21 09:45:09 debconf: --> INPUT critical grub-installer/apt-install-failed

我在上述过程中创建了一个EFI文件系统

Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 514A7D7E-64A9-4E14-B8F2-4460D2DF8532

Device       Start       End   Sectors   Size Type
/dev/sdb1     2048   1050623   1048576   512M EFI System
/dev/sdb2  1050624   1550335    499712   244M Linux filesystem
/dev/sdb3  1550336 500117503 498567168 237.8G Linux LVM

在先前的环境中,安装了以下软件包。

efibootmgr                           
grub-efi-amd64                        
grub-efi-amd64-bin                   
libefiboot1:i386                      
libefivar1:i386                       
ncurses-base  

在前面的chroot中,如果我手动尝试安装GRUB,它将失败,并且不支持EFI变量

grub-install
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.

关于我需要做些什么才能使它起作用?

谢谢

Densha

0 个答案:

没有答案