Next is to configure the PI so that when it restarts it will automatically mount the external hard drive. To do that, users will need to open up the nano editor and make a quick edit. At the command line enter the code shown here and then press Enter.