Just to clarify, you want to look for any mounted partitions by running
df
, and then for whatever items you see there that are partitions of the drive you're trying to install on, run sudo unmount -l DEVIICE_NAME
, where DEVICE_NAME is the value in the first column of the output of of df