[Bug 1849807] Re: Installer breaks when installing grub. Surface Pro 4

Steve Langasek steve.langasek at canonical.com
Tue Apr 21 00:16:00 UTC 2020


Oct 25 10:01:32 ubuntu grub-installer: info: Running chroot /target grub-install  --force "/dev/nvme0n1p1"
Oct 25 10:01:32 ubuntu grub-installer: Instalando para plataforma x86_64-efi.
Oct 25 10:01:38 ubuntu grub-installer: grub-install: aviso: No se puede establecer la variable de EFI BootOrder.
Oct 25 10:01:38 ubuntu grub-installer: grub-install: aviso: efivarfs_set_variable: writing to fd 8 failed: Argumento inválido.
Oct 25 10:01:38 ubuntu grub-installer: grub-install: aviso: _efi_set_variable_mode: ops->set_variable() failed: Argumento inválido.
Oct 25 10:01:38 ubuntu grub-installer: grub-install: error: no se pudo registrar la entrada de arranque de EFI: Argumento inválido.
Oct 25 10:01:38 ubuntu grub-installer: error: Running 'grub-install  --force "/dev/nvme0n1p1"' failed.

This shows that the installer has booted in UEFI mode, the efi
filesystem is available exposing the EFI variables, but grub is not able
to write changes to it.  This suggests an incompatibility with the
firmware.

In LP: #1873513 you present a workaround where you copy grubx64.efi to
bootx64.efi allowing the system to boot the disk using the EFI fallback
instead of using the EFI nvram variables.  What is the user experience
on boot after you do this?

** Changed in: grub-installer (Ubuntu)
       Status: New => Incomplete

** Changed in: grub-installer (Ubuntu)
   Importance: Undecided => High

** Summary changed:

- Installer breaks when installing grub. Surface Pro 4
+ Installer breaks when installing grub because it cannot write to nvram on Surface Pro 4

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1849807

Title:
  Installer breaks when installing grub because it cannot write to nvram
  on Surface Pro 4

Status in grub-installer package in Ubuntu:
  Incomplete

Bug description:
  This happens since the last versions of the Ubunut/Kubuntu operating
  systems...

  The machine is a Surface Pro 4.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: ubiquity 19.10.21
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CasperVersion: 1.427
  Date: Fri Oct 25 12:02:07 2019
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash ---
  LiveMediaBuild: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1849807/+subscriptions



More information about the foundations-bugs mailing list