i think i've just messed up something. I explain the situation:
During the last few weeks i've been using Linux Mint in dual boot with windows 10. I decided to remove Mint as it had some terrible screen tearing problems, and switch it to ubuntu. I thought that formating the partition were linux...