Mount External Hard Drives on Raspberry Pi : All Models

Spread the love

In this segment we are going to show “How you can Mount External Storage on Raspberry Pi

/> Software to Download


   Equipment Equipment Required :
Equipment Raspberry Pi 3B & 3B+
Equipment Micro SD Card 8 GB
Equipment Power Supply
Equipment Ethernet Cord for LAN Connection
    Equipment Optional :
Equipment Raspberry Pi Case
Equipment Keyboard
Equipment Mouse

 Raspbian OS Installation

  • Download Raspbian OS from Official Website :
  • Then write the image to the SD Card using : Etcher
  • Now, Boot the Raspberry Pi with this SD Card, Follow the On-Screen Instructions and then open Terminal.

 STEP- 1 : Mount External Drive

/> List the Drive

sudo blkid

/> Create a Mount Folder

sudo mkdir /mnt/Drive_Name

/> Mount the drive to Folder

sudo mount /dev/sda1 /mnt/Drive_Name

/> Give proper permission

sudo chmod 775 /mnt/Drive_Name
 STEP- 2 : Auto Mount Drive on Startup

/> List the Drive & note UUID

sudo blkid

/> Edit fstab

sudo nano /etc/fstab

/> Adding lines to fstab

UUID=enter_uuid_here /mnt/Drive_Name auto nofail,uid=enter_uid_here,gid=enter_gid_here,noatime 0 0

/> Reboot Raspberry Pi

sudo reboot

 STEP- 3 : UnMount Drive

sudo umount /mnt/Drive_Name

 STEP- 4 : Remove Mount Folder

sudo rmdir /mnt/Drive_Name

Now, You know the basics of Mounting External Drive on your Raspberry Pi..
Enjoy using Raspberry Pi. 
Smile (“_”)

Spread the love