I got a new laptop(Samsung NP530U3C) which comes with 24GB of a SSD and a 500GB hard disk. I installed Ubuntu on the SSD and made a ext4 partition on the hard disk for saving media files. Boot loader got installed on the hard disk as BIOS doesn't let me to boot from the SSD.
Everything worked fine until I deleted the ext4 partition on the hard disk. Since then I cannot boot Ubuntu and I am not sure how to fix the problem without having to reinstall Ubuntu.
How can I revert the boot loader to the hdd? Would really appreciate some help