I have a multiboot laptop. I need to re-arange its partitions in order to eficientizice HDD usage. I found out that when I move my Ubuntu 14.04 installation it loses the ability to boot. After googling an investigating for a while, I detected that Grub2, its bootloader, makes reference to a specific sector on the disk, which of course changes when I move the partition to another place on the disk.
How can I find the new "specific sector" and how do I reconfig Grub2 so it points to this?
More info: Grub is entirely installed in the Ubuntu partition "sda1", it doesn't touch the MBR ("sda") in any way (I use Ranish to manage the MBR, and want to keep it that way. Reinstalling Ubuntu is not an option or I wouldn't be asking here.
Thanks for any help.