Re: grub not working - bootrepair error
First, you have grub1 on the MBR of the disk. It seems you were running it all this time. Ubuntu stopped coming with grub1 since 9.10 so if you were doing upgrades all the time but never upgraded grub1 as recommended, it remained grub1.
Second, it seems there is some issue with the sda5 swap partition. If you can boot your 12.10 cd/usb in live mode, do it, open Gparted and try to delete sda5. If it has a keys symbol next to it, you need to unmount it first with right-click, Swapoff.
After deleting it in Gparted click the green button to execute the changes. Only after that you can exit Gparted.
Deleting sda5 will not solve everything but it might solve the critical error. Grub2 in your 12.10 did not install completely, so you will either need to reinstall grub2, or reinstall ubuntu again. If reinstalling ubuntu note that it doesn't use the same partitions automatically. You have to tell it manually to use them, or delete them rom live mode too and then let the auto instaler use all that unallocated space.
As for the bootloader destination, it needs to be the MBR of the disk which is /dev/sda. Not /dev/sda7. sda7 is the ubuntu root partition and the bootloader always gos to the MBR, not to a partition. Except in some special cases, but in general it is always on the MBR.
If you decide to try only reinstalling grub2, just ask and we can provide the exact commands.
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks