Removing debian from hdd
I recently borrowed a hard drive and installed debian on it, alongside windows. I used it for a couple of weeks.
Later, I tried to remove debian by deleting the partitions I had installed it on, but that caused grub to fail horribly, and I had to reinstall debian.
How can I remove debian? Can I make grub ignore that partition and then delete it?