I used gparted to shrink the swap space and add it to the drive that had Ubuntu installed in it from Live boot. After doing so, I restarted the computer and then found a black screen saying just this: No bootable device -- insert boot disk and press any key.
Help. Thanks in advance.
Edit: I installed grub again, mounting the drive in which Linux is installed. Still, it gives the same message.