said by JoelC707:
So you want to keep the actual partition from being modified or deleted?
That's more on the lines of an MBR/GPT issue than an NTFS (or other file system) issue. If an install script nuked a partition on a drive, especially without prompting you, that goes way beyond poorly written.
I already started bitching about that. The script assumed that there would be 2 drives there, one containing the install script and the image being installed, and the target drive. For whatever reason the target drive wasn't recognized in the BIOS, so after the script loaded itself into memory it promptly repartitioned the source disk, and then erred out because it couldn't find the rest of itself.
if the partition was simply deleted, testdisk may be able to recover it but using this program can also destroy anything else on the drive so I'd try using it only as a last resort (sounds like you might be there).
Based on a cursory look of the script, all the formats were quick, but when I tried NTFS undelete in the new partition, it couldn't find anything. There were nothing really irreplaceable on that USB HD and I have a roughly 10 days old backup, but my work for the last 4 - 5 days are gone.
I can probably redo it in 2 - 3 days, but that still sucks.
Of course the irony of this is when I want to run certain programs, I have to confirm that yes, I really want to run them, but then some half witted install script can wipe my USB HD before I realize WTH is going on. --
Wacky Races 2012!