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 Chrooting into a Non Bootable Ubuntu
-
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!
-
Mounting the EFI Partition.
On the Chrooted System!
sudo su
mount /dev/sd[X]1 /boot/efi
Example:
mount /dev/sda1 /boot/efi
-
Reinstalling GRUB 2.
grub-install /dev/sd[X]
Example:
grub-install /dev/sda
The Installation should be Achieved without Errors…
-
Find the EFI Partition UUID.
ls -l /dev/disk/by-uuid
Copy the UUID of the EFI Partition from the Output.
-
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 ;) -
Rebooting.
exit
Possibly repeated Twice to Leave Chroot…
sudo reboot
Now Cross the Fingers and Hope to have Relived your Marvelous Ubuntu Linux! :)