I have a Dual Boot computer with Windows 7 and Ubuntu 12.04. I have more space in the Windows partition than Ubuntu's.

I want to reduce Windows partition size and increase the Ubuntu partition size, but every time i try to do it, when i restart it doesn't load Grub bootloader. Instead, a prompt saying "grub rescue>" shows up.

Maybe I'm doing it wrong! Can someone tell me how to do it?