Create a partition
sudo fdisk /dev/nvme0n1
# n, p, 1, Enter, Enter, w
Format and mount
sudo mkfs.ext4 /dev/nvme0n1p1
sudo mkdir /nvme
sudo blkid /dev/nvme0n1p1
Copy the UUID for the next step.
Make it persistent
sudo nano /etc/fstab
UUID=<your-uuid> /nvme ext4 defaults 0 0
sudo mount -a
Troubleshooting
If you see a “bad superblock” error:
sudo fsck /dev/nvme0n1p1
Conclusion
With fstab configured, your NVMe mounts automatically every boot, freeing your root storage and boosting performance.