installation fails when it reaches installing boot loader (grub)

hi
after changing my hard drive i tried installing
manjaro but i get this error

Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LM012 HN-M5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D01C1631-76FA-4F27-B194-0F09C39A4124

Device         Start       End   Sectors   Size Type
/dev/sda1       4096    618495    614400   300M EFI System
/dev/sda2     618496 958313125 957694630 456.7G Linux filesystem
/dev/sda3  958313126 976768064  18454939   8.8G Linux swap

can somebody help me??

According to what I've read, the EFI system partition should be 512 MiB in size. I remember seeing that error message too when I first installed Manjaro, and I then increased my ESP to 512 MiB, and if I remember correctly, then it worked.

Also, make sure that...

  • The firmware is set to boot in UEFI mode only;
  • Secure Boot and Fast Boot are both disabled;
  • The EFI partition has the boot and esp flags set; and
  • The EFI partition is mounted at /boot/efi.
1 Like

i did that but still the same error msg

Device         Start       End   Sectors  Size Type
/dev/sda1       2048   2099199   2097152    1G EFI System
/dev/sda2    2099200 958313125 956213926  456G Linux filesystem
/dev/sda3  958313126 976768064  18454939  8.8G Linux swap

Did you use mbr or gpt?

2 Likes

i tried both

You have an efi partition.

2 Likes

yes .

You joined the forum two hours ago. Might I ask as to what you have been researching in that rather long period of time? Have you searched for an answer and found posts unhelpful? If so please link them so that others may not suffer such confusion.

2 Likes

all my research on google was pointless , others had almost the same problem but not quite the same .so i joined here to seek an answer .this is the kind of answers that i found

if the install fails at the grub step, manjaro is installed but grub failed.

from a terminal, chroot then do a grub install

sudo manjaro-chroot -a
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
sudo update-grub

So which is it that you have? Just because you have an ESP does not necessarily mean that it's GPT, and some UEFIs are picky about having to boot from MBR-partitioned drives.

There's a similar issue on Calamares (Gitlab 1 year ago). Lots of changes since then, but IIRC there are more reports like that in the forum...

A workaround could be to manually install grub from Live ISO before reboot, or after one more Live boot with chroot.

Maybe search the forum and/or read this.

4 Likes

You may also find this post helpful...the image is removed now but i am almost positive it was the same error message.

1 Like

I tried the same partition setup as mentioned in the start of this thread and the installer crashed (by that I mean the mouse & keyboard stopped responding) at the grub install for me as well. This also happened for me when trying to install a Debian based distro (parrot security). So I tied to boot up from liveUSB (written with balenaEtcher) & to run the command that I found in this forum to install grub:

It crashed once again same as with debian. This got me thinking that I should verify that my bios is up to date & I just verified that it is. My acer aspire ES-533 is at the latest bios V1.19

So does anyone have any recommendations?
P.S. I prefer Manjaro now.

If you have read this link....

Then read this link.

1 Like

I have the same problem :grimacing:

So I did the 3 commands to install grub but the boot command fails even though I'm not doing a dual boot. Thinking that this error was because of the UEFI so I rebooted & enter the UEFI & even when I re-enabled secure boot & went to the security tab where I noticed that UEFI wont let me choose a UEFI file as trusted for executing.

You may need to set a password in the bios (you call it UEFI).

1 Like

I already set a password

Check on Acer website or call them.

Forum kindly sponsored by