Hard drives within the target Mac, for example, can be formatted or partitioned exactly like any other external drive.
The process of formatting or partitioning hard drives on the target Mac is comparable to managing external drives.