The first thing to do is to get the UUID of the hard drive, just type:
sudo blkid
This will return you a list of your hard drives with the UUID for each ones
/dev/sda1: UUID="206f61f1-a465-4240-935b-eea3c7c10cd9" TYPE="ext4" /dev/sda2: LABEL="Mimas" UUID="1569a3fe-65f0-4641-8eab-7c1f1affb5c2" TYPE="ext4" /dev/sda3: LABEL="Iapetus" UUID="d74de2c8-bc98-4032-8854-901d41f4b1b1" TYPE="ext4" /dev/sda5: UUID="7a375655-f71b-4686-8ac2-c0a260302165" TYPE="swap"