Before you start play with your brand new hard-disk it is a good idea to same some specs regarding its original partitioning and geometry alignment. The tool which comes handy in this case is sfdisk. Let’s take a partitioning and geometry alignment of /dev/sdb block device:
Now, save partition table:
1 2 3 4 5 6 7 8 9
To restore your disk geometry and partition run a following command:
All done. Make sure to create a new filesystem!