ubuntu logo

Ubuntu 14.04: Adding a second hard drive/additional storage

Spread the love

Adding a second hard drive/additional storage
Note: This is for an OS drive “sda” and a Data drive “sdb”

  • ls /dev/sd*
    • Because sdb has no partitions there should be no sdb1 or sdb2 (paritions)
  • fdisk /dev/sdb
  • n
  • p
  • Enter
  • Enter
  • w
  • mkfs.ext4 -L /images /dev/sdb1
  • nano /etc/fstab
    • Add the following line at the botton of this file
      • /dev/sdb1 /images ext4 defaults 1 2
    • Ctrl + O
    • Enter
    • Ctrl + x
  • mkdir /images
  • mount -a
    • If there are no errors, then everythig is ok…
    • If there are errors
      • nano /etc/fstab

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top