root@ubuntu:/mnt# apt-get --reinstall install grub-common grub-efi-amd64 os-prober
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
efibootmgr grub-efi-amd64-bin
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin
0 upgraded, 3 newly installed, 2 reinstalled, 2 to remove and 151 not upgraded.
Need to get 1,698 kB/2,419 kB of archives.
After this operation, 2,399 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-common amd64 2.02~beta2-9ubuntu1 [1,680 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main os-prober amd64 1.63ubuntu1 [18.1 kB]
Fetched 1,698 kB in 1s (877 kB/s)
Preconfiguring packages ...
(Reading database ... 170548 files and directories currently installed.)
Removing grub-gfxpayload-lists (0.6) ...
Removing grub-pc (2.02~beta2-9ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Selecting previously unselected package efibootmgr.
(Reading database ... 170529 files and directories currently installed.)
Preparing to unpack .../efibootmgr_0.5.4-7ubuntu1_amd64.deb ...
Unpacking efibootmgr (0.5.4-7ubuntu1) ...
Preparing to unpack .../grub-common_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub-common (2.02~beta2-9ubuntu1) over (2.02~beta2-9ubuntu1) ...
Preparing to unpack .../os-prober_1.63ubuntu1_amd64.deb ...
Unpacking os-prober (1.63ubuntu1) over (1.63ubuntu1) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../grub-efi-amd64-bin_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../grub-efi-amd64_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up efibootmgr (0.5.4-7ubuntu1) ...
Setting up grub-common (2.02~beta2-9ubuntu1) ...
Setting up os-prober (1.63ubuntu1) ...
Setting up grub-efi-amd64-bin (2.02~beta2-9ubuntu1) ...
Setting up grub-efi-amd64 (2.02~beta2-9ubuntu1) ...
root@ubuntu:~# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="158be71a-ec3b-4e48-837d-3528ca78f6b3" TYPE="ext4"
/dev/sda2: UUID="05849bca-bcd4-4c34-ae7d-7d2b702ef9eb" TYPE="ext4"
/dev/sda3: UUID="3bda885f-2bfb-4d75-a9cc-a103c44672b8" TYPE="swap"
/dev/sda4: UUID="4f73841b-1d6f-4a7d-870f-51bbcc423e4e" TYPE="ext4"
/dev/sdb1: LABEL="UBUNTU" UUID="7604-019C" TYPE="vfat"
root@ubuntu:~# sudo mount /dev/sda1 /mnt/boot
mount: mount point /mnt/boot does not exist
root@ubuntu:~# sudo mount /dev/sda1 /mnt/boot