Ubuntu installer crashes with grub-install /dev/sda failed fatal error

Spread the love

I’m trying to install Ubuntu 20.04.1 in a machine for dual boot with Windows 7, via a bootable flash drive. I’ve made the memory partitions for swap, esp, home etc. But, the installation failed for some reason the first time. And every time I try to install overwriting the earlier choosing the option Erase Ubuntu 20.04.1 LTS and reinstall, the installation crashes towards the end with Executing ‘grub-install /dev/sda’ failed. This is a fatal error.
This is the last message before it fails :
ubuntu grub-installer: Installing for x86_64-efi platform.
XDG_RUNTIME_DIR is not owned by us (uid 0), but by uid 999!(This could eg happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don’t do that.)
error: failed to register the EFI boot entry: Operation not permitted.

I have made the partition for EFI and labelled it boot, this is in the partition dev/sda6
This is the partitions created.
Now with that partial(?) installation, in the UEFI Boot menu, there is an option for Ubuntu. But on selection, it just says, no boot device found, press any key to reboot the machine; probably because of incomplete installation.
Unsure what to do from here, any help would be appreciated for a working installation of Ubuntu.

X ITM Cloud News


Leave a Reply

Next Post

What is the correct way to partition a drive for dualbooting Ubuntu and Windows on a 64bit BIOS-based machine?

Wed Sep 16 , 2020
Spread the love          I have a 64bit BIOS-based laptop, it does not have any form of EFI/UEFI or secure boot. I’m trying to dualboot Ubuntu 20.04 LTS 64bit and Windows 7 64bit. I tried installing Windows normally then using the Ubuntu installer with the option “Install Ubuntu alongside Windows” but I’m […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware