This is a note about how to mount the 2nd hard disk when Ubuntu starting up. From here.
First run the following command to get the UUID of the target disk:
1 | sudo blkid |
Then update the “/etc/fatab” file by adding the following line which is used to mount the target disk when the OS is starting up:
1 | UUID=9ab9b3dd-5cad-4fe3-a4d0-b44d89493c11 /home/user/storage ext4 rw,user,auto 0 0 |
Restart OS. The disk is mounted to the “/home/user/storage” directory.