IT How Tos

Home

About

Sitemap

Contact

How to mount another drive to a folder

Here explains how to mount drives onto a local folder on a linux

On Command Line


osudo mount. /dev/sd? /path/to/mount/point

This needs osudo

Permanent on boot-up

  • Within the file /etc/fstab – place the following line at the end of the file:

/dev/sd? /path/to/mount/point ext4 rw,relatime 0 2

UUID=flajdslfj732147892 /path/to/mount/point ext4 rw,relatime 0 2

  • Note: this examples assumes file type of ext4
    • this will need to be altered if a different filesystem is used.

File Type