Last active
August 19, 2019 15:00
-
-
Save osin-vladimir/ce8c58e00c11573ae4fc0ea472641606 to your computer and use it in GitHub Desktop.
How to mount SSD in Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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