Skip to content

Instantly share code, notes, and snippets.

@osin-vladimir
Last active August 19, 2019 15:00
Show Gist options
  • Save osin-vladimir/ce8c58e00c11573ae4fc0ea472641606 to your computer and use it in GitHub Desktop.
Save osin-vladimir/ce8c58e00c11573ae4fc0ea472641606 to your computer and use it in GitHub Desktop.
How to mount SSD in Linux
# search for the disk in the system
lsblk -f
# create a file system on the drive
mkfs.ext4 /dev/nvme0n1
# mount to some folder
sudo mount /dev/nvme0n1 /media/storage_ssd/
# add line to /etc/fstab file
UUID=<uuid> /<mount_path> ext4 defaults 0 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment