This post describes how to change partition to primary using diskpart and a diskpart alternative partition management tool.