每个软件更新上的 Grub 软件包配置错误

每个软件更新上的 Grub 软件包配置错误

有时前我必须在按下 Lenovo(v580 笔记本电脑)Windows 8 系统恢复按钮后恢复 Linux 启动(只是一个愚蠢的错误)。然后我就按照这个指南进行了操作http://community.linuxmint.com/tutorial/view/245。虽然我现在可以在每个软件更新(任何软件)上从 Linux 分区启动,但我可以看到错误,我可以通过以下命令执行来重现该错误:

mypc html # dpkg --configure grub-efi-amd64-signed
Setting up grub-efi-amd64-signed (1.34.2+2.02~beta2-9ubuntu1.1) ...
grub-install.real: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-efi-amd64-signed

我尝试重新安装grub-efi-amd64-signed软件包,但这没有帮助。

我正在使用 Linux Mint 17 64 位

更新

在BIOS中设置为启动Legacy+UEFI(Legacy优先)。

当前安装的 grub 软件包:

mypc html # dpkg -l grub\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
un  grub                                 <none>                  <none>                  (no description available)
ii  grub-common                          2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader (common files)
un  grub-coreboot                        <none>                  <none>                  (no description available)
un  grub-doc                             <none>                  <none>                  (no description available)
un  grub-efi                             <none>                  <none>                  (no description available)
ii  grub-efi-amd64                       2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 version)
ii  grub-efi-amd64-bin                   2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
iF  grub-efi-amd64-signed                1.34.2+2.02~beta2-9ubun amd64                   GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)
un  grub-efi-ia32                        <none>                  <none>                  (no description available)
un  grub-efi-ia64                        <none>                  <none>                  (no description available)
un  grub-emu                             <none>                  <none>                  (no description available)
un  grub-ieee1275                        <none>                  <none>                  (no description available)
un  grub-legacy                          <none>                  <none>                  (no description available)
un  grub-legacy-doc                      <none>                  <none>                  (no description available)
un  grub-linuxbios                       <none>                  <none>                  (no description available)
un  grub-pc                              <none>                  <none>                  (no description available)
un  grub-xen                             <none>                  <none>                  (no description available)
un  grub-yeeloong                        <none>                  <none>                  (no description available)
un  grub2                                <none>                  <none>                  (no description available)
ii  grub2-common                         2.02~beta2-9ubuntu1.1   amd64                   GRand Unified Bootloader (common files for version 2)
ii  grub2-theme-mint                     1.0.9                   all                     Grub2 theme for Linux Mint

答案1

我在 Dell Latitude E7450 上遇到了同样的问题。我只是跑了

    sudo apt-get install grub
    sudo apt-get autoremove

从标准 shell 中就可以了。

相关内容