What kind of “loop” do you mean"? Freeze? What happens when you try to boot from hard drive? “No system found” error or something like that?
If you delete a disk partition, you will certainly lose all the data on that partition.