[Bug 1869278] Re: grub-install /dev/sda failed during installation

Steve Langasek steve.langasek at canonical.com
Fri Mar 27 04:22:43 UTC 2020


The details in the installer syslog show:

Mar 26 23:53:05 ubuntu grub-installer: Instalando para plataforma x86_64-efi.
Mar 26 23:53:06 ubuntu kernel: [ 6272.712620] FAT-fs (sda1): error, fat_get_cluster: invalid cluster chain (i_pos 0)
Mar 26 23:53:16 ubuntu grub-installer: grub-install: error: no se puede abrir «/boot/efi/EFI/ubuntu/grubx64.efi»: Error de entrada/salida.
Mar 26 23:53:16 ubuntu kernel: [ 6282.150719] FAT-fs (sda1): error, fat_get_cluster: invalid cluster chain (i_pos 0)
Mar 26 23:53:16 ubuntu grub-installer: error: Running 'grub-install  --force "/dev/sda"' failed.

It looks like the installation failed because your EFI System Partition,
/dev/sda1, which is a FAT filesystem shared between Windows and Ubuntu,
has corruption.  You can try rebooting to Windows and making sure you
shut the system down cleanly, then try to reinstall, and see if that
fixes the problem. Or, from the Ubuntu live environment, you can try
running these commands from a shell:

  sudo umount /boot/efi
  sudo fsck.vfat /dev/sda1
  sudo mount /boot/efi

and then retry the installation to see if it succeeds.

The 'fsck.vfat' command may ask you for permission to make changes to
the filesystem to correct the errors that it finds.  Please note that,
depending on the nature of the corruption it detects, this has the
potential to make your Windows system unbootable afterwards.

-- 
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/1869278

Title:
  grub-install /dev/sda failed during installation

Status in grub-installer package in Ubuntu:
  New

Bug description:
  I'm trying to install Ubuntu 18.04.4 LTS (downloaded it yesterday) on
  my laptop so I could dual boot with Windows 10 (already installed) and
  in the process I got the message: "The execution of «grub-install
  /dev/sda» failed. This is a fatal error.

  This is my first time reporting a bug or problem on this website, I
  don't know what information should I add. Hope you can help me.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ubiquity 18.04.14.14 [modified: lib/partman/automatically_partition/question]
  ProcVersionSignature: Ubuntu 5.3.0-28.30~18.04.1-generic 5.3.13
  Uname: Linux 5.3.0-28-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.9
  Architecture: amd64
  CasperVersion: 1.394.3
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Mar 26 20:55:23 2020
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
  LiveMediaBuild: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
  ProcEnviron:
   LANGUAGE=es_AR.UTF-8
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=es_AR.UTF-8
   LC_NUMERIC=C.UTF-8
  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/1869278/+subscriptions



More information about the foundations-bugs mailing list