How do I reinstall grub, after I have reinstalled Windows XP on dual boot system?
I have Ubuntu 14.10 installed, and I'm trying to reinstall grub from Ubuntu 10.04 Live CD. However, I cannot install boot-repair (E: Couldn't find package boot-repair) and I have no idea what "main partition" refers to here. Is it the partition I have Ubuntu 14.10 installed on (/dev/sda2) or the one with Windows (/dev/sda1)?
Solution: The problem was that I was using Ubuntu 10.04 Live CD. boot-repair installed right away from Ubuntu 14.10 Live USB and it solved the problem.