I deleted a partition. When i restarted my computer i had an interface showing this message: "error no such partition. Grub rescue>" I don't know if the partition i've deleted was the one where ubuntu were installed (if so im dead. All my important projects are inside) or it was only storing the grub files. Note that i have a dual boot. Who can please help me save both my linux and windows please!
Hum, not really a question, so this is not really an answer. Don't despair. Get an external USB harddrive with a lot of free space. Use an Ubuntu live CD or USB key to boot your computer, then make a full image of your hard drive on the external harddrive. for example, use the instructions in the answer to this question (use
tar). Then, and only then, use tools like Testdisk to recover the deleted partitions.
If you are so unlucky that testdisk can't recover the lost partitions, PhotoRec can still be used to recover some of the files. This is however a last resort, as photorec cannot restore file names and directory structure, nor can it make difference between a file that had been deleted and a file that was present at the time you deleted the partition.