Every hard disk has a 'Master Boot Record', which contains a table showing how the disk is partitioned.