Lost Grub on Ubuntu 10.04 Upgrade

Oops chose the wrong disk for grub while upgrading and system wouldn’t boot. Inserted the Super Grub Disk I keep handy for such eventualities and this allowed me to boot into Ubuntu 10.04.
At the command-line I then entered:

sudo grub-install /dev/sdb

I had chosen the first disk sda during the upgrade but a:

df -h
sudo fdisk -l

showed me that it should have been sdb.

Post comment