If for any reason your GRUB is not working --perhaps due to being corrupted, mis-configured, or even deleted-- then it may not be necessary to reinstall Manjaro. Select your preferred language (F2) and keyboard layout (F3).
The GRUB can instead be fully repaired and restored, retaining your installed Manjaro system. Tip: Setting the language and keyboard layout are undertaken by pressing the Function (F) keys.
To undertake this task, you will need to use your Manjaro installation media, such as, a CD/DVD or USB Flashdrive. As many computers have multiple functions assigned to each function key, it may be necessary to hold down another key first to use them. It does not matter which boot option you choose, as the installation media is being used solely to repair/reinstate the GRUB, and not to install a fresh system. Open the terminal or access the command line of the live CD. This is necessary in order to identify the partition your Manjaro system is installed on.
An ESP is a fat32 partition and contains files for booting.
It can be checked using Gparted or from the terminal using fdisk -l (Note: If you do not have a EFI partition, you will need to create it. Type- fat32 Size- 512 mb to 1 gb) 2.) Create the /boot/efi directory After the above you could chroot and try the update-grub command as earlier.
It is supposed to attempt to install the img to the physical disk boot sector and revert to the boot partition if the physical disk is not present (precisely for these types of situation I imagine).
While it didn't do this when I last tested, it does now, so this was probably added as a feature or a bugfix recently.
As with any other configuration file, you need to edit the options to your desired state and then change the file.
If any of the options below doesn’t already appear in the file, add it on a new line.
For a list of your paritions, enter the command: GPart Ed.
This will provide a simple visual illustration of the partitions on your hard drive(s). The syntax to mount the Manjaro system partition is: This is undertaken so that you are working from --and with-- your installed system, rather than the installation media.
Upgrading to a newer version of grub-pc fixed the problem.
As with any Linux operating system, the GRUB (GRand Unified Bootloader) is responsible for booting up Manjaro.
You can change its settings to select a default operating system, set a background image, and choose how long GRUB counts down before automatically booting the default OS.