I accidently removed all kernels from my Ubuntu 14.04 Trusty. I followed steps in this question's answers to install a new kernel but when I try to boot I don't see the 'Linux/ubuntu' option in my grub menu list. It only shows 'System Settings'.
How do I regenerate the earlier/default menu entries for ubuntu in grub?
Note:
I am currently able to boot with these steps on grub prompt:
set root=(lvm/ubuntu--vg-root) linux /boot/vmlinuz-3.13.0-74-generic root=/dev/mapper/ubuntu--vg-root initrd /boot/initrd.img-3.13.0-74-generic
boot
When on live usb, I copied
vmlinuz
,init
... etc. from my boot partition to /boot folder because I could not find a way to use a separate boot partition from grub prompt.