mount hard drive on boot linux 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