initialize and print partition information of the HD