How to Set Up a Second NVMe Drive for Storage and Games on Linux?
Asked by
arp~cache
I'm new to Linux and trying to figure out how to use my second NVMe drive for additional storage and gaming. Currently, I have a 1TB Samsung NVMe drive as my main OS drive and I want to set up the second 1TB NVMe drive as a general storage space, which I would like to designate as the "D:" drive equivalent in Windows. The issue I'm encountering is that most guides I've found are outdated or focused on dual boot setups with Windows, which isn't my case. When I tried to mount the drive, it ended up creating a giant folder that I couldn't use. How should I configure this new drive? What steps do I need to follow?
Answers
First things first, remember that Linux works differently than Windows. Hereโs a simplified step-by-step: 1. Decide where you want the drive to be accessible (maybe in your home folder?). 2. Determine how youโll use itโjust for you or shared? 3. For file systems, Btrfs is a solid choice if it matches your OS drive. 4. Create any necessary partitions and format. 5. Update your `/etc/fstab` file with the correct mounting options. Let us know your current partition setup, and we can help further!
Reply to this answer
To mount your second NVMe drive properly, you'll need to edit your `/etc/fstab`. You can set up a new entry for the drive there, using its UUID. Make sure you format the drive correctly first (to Btrfs, in your case) and pick a mount point. That way, every time you boot up, the system knows where to find it.
moderate breeze: Good point! After formatting, update the fstab with the correct UUID to avoid the root ownership problem you faced before.
Reply to this answer
Add your answer
Answers are reviewed before publication.
key+esc7: Yeah, and don't forget to provide as many details as possible about your existing setupโit really helps! For instance, what partition sizes do you have?