This question already has an answer here:
I tried installing Ubuntu 12.04 on my new computer (I have already installed it on my old computer, and everything is fine). For some reason, grub said it was not installed. Upon reboot, I reach the grub rescue screen with no bootable device. I tried using normal.mod, but I have no modules. I can't access my bios, and I basically cannot even boot to reinstall. I have no idea what to do.