I booted from the live cd so that I could increase disk space and swap space of my ubuntu partition. Earlier I have windows partition as well but I deleted it and gave space to my ubuntu partition. When I booted after this I got the dreaded "no partition found" grub error. After some research I found out that I needed a boot partition in order to boot. However, now when I create a new partition (for boot), I can not manage "flags" on it. So, I'm not able to create a partition with "boot" flag. Please see the screenshot below.
What should I do? My intention was to set boot flag on the unallocatted space of 1.85 GB.