How can I set up my second NVMe drive for storage and gaming on Linux?

0
2
Asked By TechieDad123 On

I'm looking to use my second NVMe drive primarily for general storage and gaming. Currently, I have one drive (C:) that's running CachyOS, and I want to set up the second drive as my D: drive. I've tried to find guides on how to do this, but most of them focus on dual-boot setups or involve transferring files from a Windows PC, which isn't my case. When I attempted to mount the drive, it ended up creating a confusing folder in the filesystem that I couldn't manage. Any help on how to properly configure this drive would be greatly appreciated!

2 Answers

Answered By StorageGuru42 On

Yeah, getting your fstab right is crucial! Just tweaking that file can save you a lot of headaches. First, locate the UUID of your second NVMe drive with `lsblk -f` or `blkid`. Then, add a line to your fstab file similar to the ones you have for your other partitions, specifying the mount point you want. For example, if you want to mount it at /mnt/games, your line would look something like 'UUID=xxxx-xxxx /mnt/games btrfs defaults 0 0'. Just remember to create the directory /mnt/games first! Let us know how it goes!

Answered By LinuxNinja89 On

First off, remember that Linux operates differently than Windows. To set up your NVMe drive for storage, start by planning where you want it mounted in the filesystem (like your /home/user folder) and how you’ll access it. If it’s just for you, a single large partition is fine. Since you're using Btrfs, you're on a good path; just make sure to create the partitions and edit your fstab for mounting options. If you provide more details about your current setup and the drive's partition state, we can help refine this further!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.