Move dual-boot Ubuntu 18 onto a second hard drive

Suppose you have a laptop equipped with two hard drives and intend to install a dual-boot operating system on the second drive while…