Skip to content

Instantly share code, notes, and snippets.

@rakeshtembhurne
Last active October 19, 2023 19:21
Show Gist options
  • Save rakeshtembhurne/1d43d957bf1a7ab4992d803ab2d1d441 to your computer and use it in GitHub Desktop.
Save rakeshtembhurne/1d43d957bf1a7ab4992d803ab2d1d441 to your computer and use it in GitHub Desktop.
Reinstall the GRUB boot loader to your Ubuntu installation in EFI mode this way (From live CD)
sudo mount /dev/sdXXX /mnt
sudo mount /dev/sdXX /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sdX
update-grub
# Note : sdX = disk | sdXX = efi partition | sdXXX = system partition
# 'Fixed' by replacing /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi with /boot/efi/EFI/arch/grubx64.efi
# Resources
# https://community.acer.com/en/discussion/471754/acer-aspire-es-15-es1-533-c3uw-legacy-bios-missing
# https://askubuntu.com/questions/862946/unable-to-install-ubuntu-on-acer-aspire-es1-533
@vishalvivekm
Copy link

Hi @rakeshtembhurne
Thanks for this.

Can you please tell me, what do you mean by the following?
sdX = disk | sdXX = efi partition | sdXXX = system partition

I am looking at this answer and figuring out, the meaning of these three

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment