Skip to content

Re-read partition table in Linux

Tonight I needed to clone some HDD. After the cloning finished I wanted to inspect the partitions on the new drive without rebooting (sheer laziness); I obviously couldn't, the OS wasn't yet aware of the new partition table.
To make the OS aware of the new partition table you have 2 options:
1 - reboot
2 - use partprobe or blockdev (--rereadpt).

Good luck! ;-)