mount internal hard drive automatically ubuntu code example Example 1: how to mount a hard drive in ubuntu mount | grep sdb Example 2: how to mount a hard drive in ubuntu sudo fdisk -l