The easiest way is to do the upgrade, which will destroy your grub boot-loader. Thereafter, repair the grub boot-loader by following the following procedure:
Boot up from a live Linux CD.
First you need to find out what your drives/partitions are called. You can do this by opening a terminal and typing:
sudo fdisk -l
From the output you need to find the device name of your target linux partition, something like “/dev/sda5″.
So, still in the terminal, type:
sudo mkdir /media/sda5
sudo mount /dev/sda5 /media/sda5
And then, to re-install the grub:
sudo grub-install --root-directory=/media/sda5 /dev/sda
Of course you need to replace "/dev/sda5" and "/dev/sda" with what you found in the fdisk output.