Linux is NTFS compatible. So AFAIK, you could just have a "Linux" and "Windows" folder for each OS. All one partition. I'm not super familiar with Steam as I'm not much of a gamer, but I see no reason for separate partitions.
That said, based on what you want, let's start anew because I want to make sure it's done right (for my sanity).
Backup everything on your partition first... I mean it;
we're going wipe it and start fresh. You acknowledge that by proceeding...
I'm going to assume you have the correct partition and your username is michael (mentioned earlier).
Code:
$ mkdir /home/michael/SteamLibrary/
# mkfs.ext4 -L steamlinux /dev/nvme1n1p2
# cp /etc/fstab /etc/fstab.bkp_2024-10-03
# blkid /dev/nvme1n1p2
Note down the "UUID".
I'd love to give you a copy+paste into your terminal so you don't have to manually edit the next bit, but I'll probably forget an escape character here, a closing quote there... So I won't risk that.
Now you find where the UUID or "/dev/nvme1n1p2" is listed. Search with ctrl+w. Delete a line by pressing ctrl+k. There should only be one mention of it. Save with ctrl+o and exit with ctrl+x.
Next (I can give you a copy+paste):
Code:
# echo "LABEL=steamlinux /home/michael/SteamLibrary/ ext4 defaults,user,exec 0 0" >> /etc/fstab
And that's it. It should show up in your file manager within a second or two. If not, just run:
Code:
$ mount /home/michael/SteamLibrary
You should be able to mount/unmount as a normal user from you file manager. If it requests the root password to mount, it'll only be this time. After each subsequent boot it'll be automatically mounted.
- Obviously you can change the names and locations as you require
- Note down each step you took in case something goes wrong. But you should have no issues.
- For anyone wondering, I use LABEL in fstab for data partitions because UUIDs can change across formats, resizing, etc... But mainly it looks neater as is more maintainable, just don't reuse labels (no I'm not going don the UUID vs LABEL debate hole).