To addd a new hard disk in debian from command line, look at this article:
It uses UUID to enable the hard disk which enables using the hard disk even when more hd are attached or some are removed from the system. For Debian Jessie (ver 8.x) users, there is an additional step to choose disk label type while partitioning the disk using cfdisk. To avoid any in-compatibilites, I would suggest using the same disk label type as the one being used in your current hard disk. This can be determined using fdisk – l command, where the output will contain “Disklabel type:” for the existing hard disk.