After recently performing the R1 > R2 upgrade process I noticed that the symbolic links to the kernel for initrd.img and vmlinuz are not updated and will still point to the older 18.104.22.168 kernel. This is not a show stopping issue, however it does mean that certain scripts that update boot related actions will automatically go for the older kernel rather than the new kernel which can be a tad annoying. The fix is to remove and recreate the symbolic links manually:
1. cd onto the root of your filesystem:
Use ls -l to confirm you are on the root of the filesystem. You will see folders like /etc /home /usr etc. All were interested in is the initrd.img and vmlinuz symbolic links which are signified with an -> symbol. These two files are pointing to the boot initrd and vmlinuz files. They will look like this at this point from a R1 > R2 upgrade:
These need to be updated to default to the new kernel.
initrd.img -> boot/initrd.img-22.214.171.124
vmlinuz -> boot/vmlinuz-126.96.36.199
2. Remove the symbolic links with rm:
3. Recreate the symbolic links with the following commands:
rm initrd.img && rm vmlinuz
4. Re run ls -l to confirm the symbolic links were correctly created. They should now look like this:
ln -s boot/initrd.img-3.2.6 initrd.img
ln -s boot/vmlinuz-3.2.6 vmlinuz
Now the symbolic links point to the newer kernel and running scripts like: update-initramfs -u will automatically select the latest kernel.
initrd.img -> boot/initrd.img-3.2.6
vmlinuz -> boot/vmlinuz-3.2.6
Note: This change does not affect the use of the older kernel. Providing you leave the older kernel packages alone you will still be able to boot it with no problem.