• How to properly restore the Manjaro GRUB bootloader on UEFI systems ?

    In order to boot Linux, a Linux boot loader such as GRUB needs to be installed. Sometimes, a fresh windows install eats 😋 your grub or the MBR or GPT gets corrupted, erased or misconfigured for various reasons, resulting to missing the capability to boot into your linux installation.

    Fortunatelly, there is a way to restore GRUB without re-installing your OS or losing your data. For this, you will need to use your Linux installation media to Restore the GRUB Bootloader.

    If you install Manjaro on UEFI system and you need to restore the Grub bootloader, just boot the Manjaro Installation Media and follow me, as I will demonstrate to you in this tutorial how to properly restore it.



    Steps:

    1. Install mhwd-chroot: 
      sudo pacman -Sy mhwd-chroot
    2. Identify the Manjaro installation partition: 
      lsblk -f
    3. Start mhwd-chroot: 
      sudo mhwd-chroot
    4. Mount the EFI partition as /boot/efi: 
       sudo mount /dev/sdXY /boot/efi

      P.S: X = Alphabet of the drive  Y = Partition number of the EFI partition


    5. Re-install Grub: 
      sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
    6. Update Grub configuration file.: 
      sudo update-grub

    All done! Now close the terminal and reboot your system to use your freshly re-installed GRUB 😌.


    Did you find this tutorial helpful ?


  • 2 comments:

    1. sudo pacman -Sy mhwd-chroot

      failed to run these command

      ReplyDelete
      Replies
      1. Welcome to your blog.
        Can you please give me more details?
        Screenshot, output after running the command.
        In any case you can try to install manjaro-chroot and use it instead of mhwd-chroot.

        Delete

    GET A FREE QUOTE NOW

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    ADDRESS

    4759, NY 10011 Abia Martin Drive, Huston

    EMAIL

    contact-support@mail.com
    another@mail.com

    TELEPHONE

    +201 478 9800
    +501 478 9800

    MOBILE

    0177 7536213 44,
    017 775362 13