How Do I Add a Second Hard Drive to Linux?
Contents How Do I Install a Second Hard Drive on Linux? to Achieve This, You Need to Perform Three Simple Steps: 2.1 Create a Mount Point. Sudo Mkdir /Hdd. 2.2...
Contents
How do I install a second hard drive on Linux?
To achieve this, you need to perform three simple steps:
- 2.1 Create a mount point. sudo mkdir /hdd.
- 2.2 Edit /etc/fstab. Open /etc/fstab file with root permissions: sudo vim /etc/fstab. And add following to the end of the file: /dev/sdb1 /hdd ext4 defaults 0 0.
- 2.3 Mount partition. Last step and you’re done! sudo mount /hdd.
How do I add a hard drive to Linux?
Mounted File-systems or Logical Volumes
One very simplest method is to create a Linux partition on the new disk. Create a Linux file system on those partitions and then mount the disk at a specific mount point so that they can be accessed.