How to Reinstall GRUB 2 on a Non Bootable EFI Ubuntu 15.04-14.10-14.04 Gnu/Linux Easy Guide

April 20, 2015 | By the+gnu+linux+evangelist.

EFI Non Bootable Ubuntu Fixing GRUB2

Hi! The Tutorial shows you Step-by-Step How Try to Fix/Reinstall/Recover the GRUB 2 Bootloader on a EFI Non Bootable Ubuntu 15.04-Vivid/14.10-Utopic/14.04-Trusty i386/amd64 GNU+Linux System.

The Ubuntu Installation on EFI Systems dispose of a little EFI First, Partition (normally about 200Mb) that is Needed to Manage on GRUB 2 Proper Re-installation…

How to Install Syncthing on Ubuntu GNU/Linux Distro
  1. How to Chrooting into a Non Bootable Ubuntu

    Chroot Non Bootable Ubuntu Guide
  2. Searching for the EFI Partition.

    To List all Existing Partitions on System with respective Sizes:

    sudo apt-get install lvm2
    lvmdiskscan

    You should Find a First, Partition of about 200Mb on a /dev/sd[X]1 Device!

  3. Mounting the EFI Partition.

    On the Chrooted System!

    sudo su
    mount /dev/sd[X]1 /boot/efi

    Example:

    mount /dev/sda1 /boot/efi
  4. Reinstalling GRUB 2.

    grub-install /dev/sd[X]

    Example:

    grub-install /dev/sda

    The Installation should be Achieved without Errors…

  5. Find the EFI Partition UUID.

    ls -l /dev/disk/by-uuid

    Copy the UUID of the EFI Partition from the Output.

  6. SetUp EFI to be Mounted during StartUp.

    nano /etc/fstab

    Append something like:

    UUID=[myP4rt-UUID]  /boot/efi       vfat    defaults        0       1

    Substitute your Partition UUID Value to [myP4rt-UUID]!
    Ctrl+x to Save & Exit from nano Editor ;)

  7. Rebooting.

    exit

    Possibly repeated Twice to Leave Chroot…

    sudo reboot

    Now Cross the Fingers and Hope to have Relived your Marvelous Ubuntu Linux! :)


QuickChic Theme • Powered by WordPress