I have a dual SATA drive setup for a file storage/general purpose box, which is arranged thus:
/dev/sda1 + /dev/sda1 = /dev/md0 RAID1 --> /boot
/dev/sda2 + /dev/sdb2 = /dev/md1 RAID1 --> LVM with VGs and LVs for /, /usr, /var, etc. partitions.
I chose this setup during Ubuntu install and it worked quite fine, until some latest updates that apparently included kernel update or something like that, which required GRUB to modify something.
After that I now have kernel panic and unable to mount FS on boot.
I booted from Live CD and after getting mdadm and lvm2, checked that filesystems are fine, I can assemble MD arrays and LVM scans produce the correct VG/LV listings.
I would appreciate if you could tell me (or point to good resource about) how to now recover the boot from hard disk in middle of Ubuntu update. I have been doing recoveries mostly for LILO bootloader, which is, as I understand, almost extinct, and I have practically no GRUB experience (and it looks way more complicated than LILO).
Edit: I tried the https://help.ubuntu.com/community/Grub2#ChRoot procedure, which seems to work for some, that is, chroot into the existing server config from live cd, then try to update-grub, grub-install /dev/sdXX, but it doesn't work.
Specifically, I tried to do "grub-install /dev/sda", but after reboot I encountered same error as before.
Edit(2):
as per cstamas' answer, you can use the Chroot procedure with unmounting & remounting dev services as described in the ubuntu community link, then once inside chroot, update-initramfs (for -k specify kernel version name that matches one in your /lib/modules/) and update-grub2, no need for grub-install.