I accidentally removed my current linux kernel from my Ubuntu 14.04.4 LTS by using this command: sudo apt-get purge linux-image-3.13.0-{77,79}-generic
Unable to boot into the system, now I found this good post on how to re-install kernel.
But, problem is sudo parted -l
is showing boot
flag is set for sda1
but ext4
partition is in disk /dev/mapper/ubuntu--vg-root
as opposed to usual sdaX
. Output of sudo parted -l
.
Now, I'm unable to decide which filesystem to mount for re-installing kernel:
sudo mount /dev/sda1 /mnt
Or
sudo mount /dev/mapper/ubuntu--vg-root /mnt/boot
Here is Pastebin of Boot-Repair