Is there a way to remove the imaging partition from the command line?

Darrell