Beginners Guide To Homelabbing: How To Mount A Drive On Ubuntu Server

Learn how to easily mount a hard drive or secondary virtual disk on Ubuntu Server using VirtualBox. Whether you are expanding your home lab storage, setting up a media server, or moving away from SaaS platforms, this step-by-step tutorial covers everything you need to know. In this video, we guide you through attaching a new virtual disk in the VirtualBox settings, identifying the drive in the Linux CLI, partitioning, formatting, and configuring automatic mounting so your storage survives a reboot. List of commands that were used the this Tutorial: sudo fdisk -l sudo blkid sudo mkfs.ext4 /dev/sdb sudo mkdir /mnt/usb sudo mount /dev/sdb /mnt/usb /dev/disk/by-uuid/7d25462f-c952-4232-892b-4b843c951945 /mnt/usb ext4 defaults 0 0 mount -a