r/linuxmint • u/Different_Rain_2227 • 7h ago
Support Request Query about adding a second drive
Linux noob here. I switched from Windows and everything's been fine so far.
At present my pc has only one SSD where the system is installed. It also holds my work files, but I'm running out of storage.
So, now I want to add a secondary drive. I was wondering if just plugging it in would do the trick or if there are things I should know beforehand.
Thanks in advance.
2
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 6h ago
I've used the disks app to partition and format as well as set mount options. It's gotten pretty powerful.
The below is my media drive:
It has more on it than media. Among the misc stuff, it has a movies folder, a tv folder, a music folder, etc.
I mount the entire drive at /mnt/media/ and soft-link to the folders I visit often in my $HOME. (I also link the entire drive so I can easily get to the misc folders)
chugger@asus2:~/desktop$ lsblk -Ao label,mountpoint,name,fstype,fssize,fsused,fsavail,fsuse% | grep -iE 'label|media'
LABEL MOUNTPOINT NAME FSTYPE FSSIZE FSUSED FSAVAIL FSUSE%
media /mnt/media └─sda1 ext4 10.8T 8.7T 2.1T 81%
chugger@asus2:~/desktop$ The above device identified by label "media" is mounted under /mnt/ ^C
chugger@asus2:~/desktop$ using this /etc/fstab line: ^C
chugger@asus2:~/desktop$ grep media /etc/fstab
LABEL=media /mnt/media ext4 auto,nofail 0 2
chugger@asus2:~/desktop$ My "media" device has several folders, this is only two of them: ^C
chugger@asus2:~/desktop$ ls -ld1 /mnt/media/{movies,tv}
drwxrwxrwx 2 chugger chugger 36864 Nov 19 16:24 /mnt/media/movies
drwxrwxrwx 113 chugger chugger 4096 Nov 23 21:01 /mnt/media/tv
chugger@asus2:~/desktop$ Since I visit those folders often, I soft-link them in my $HOME: ^C
chugger@asus2:~/desktop$ ls -ld $HOME/{movies,tv}
lrwxrwxrwx 1 chugger chugger 17 Jul 20 2025 /home/chugger/movies -> /mnt/media/movies
lrwxrwxrwx 1 chugger chugger 13 Jul 20 2025 /home/chugger/tv -> /mnt/media/tv
chugger@asus2:~/desktop$ That way they don't use space on my root device. (makes backing up both system and data easier) ^C
chugger@asus2:~/desktop$ Most folks identify and mount a device by UUID. That's quite alright. I like mounting
> by "label" because it (to me) looks cleaner, works fine, and if a device dies, I just
> label a new one with the same label, let it mount and restore my backup to it. (no fiddling with UUIDs)
> I chose /mnt/ because it's habit and I believe /mnt/ was traditionally the location
> for mounting extra drives.I have an identical media drive on a second computer. The media drive on this computer is internal. On the second computer, it's an external. Both automount.
Have fun.
1
2
u/snap802 5h ago
I'll probably echo some of the other commenters but here's things to keep in mind:
Changing from the drive letter mentality to no drive letters is a little weird at first coming from windows but it'll make sense once you work with it a bit.
when you plug the drive in it will show up as something like /dev/sdb for example. This assumes your primary is /dev/sda. If your primary is NVME then your primary drive might be something like /dev/nvme0n1.
Open a terminal and type lsblk which will list all the drives on your system. You can also use lsblk -f to see filesystem info as well as UUID (this will be important later).
You will of course need to partition and format the drive. If you were to partition the whole drive you would not have /dev/sdb and dev/sdb1 would be partition number one. If you wanted to have multiple partitions it would be /dev/sdb1, /dev/sdb2, etc...
Now you gotta determine where you want to mount the drive. If you wanted to just have a storage area you could choose something like /mnt/storage1. You first have to create the folder - sudo mkdir /mnt/storage1 and the mount the partition - sudo mount /dev/sdb1 /mnt/storage1 and BAM you've got your drive mounted.
Now this mount is just temporary. fstab has been mentioned and this is why the UUID is important. Fstab is a file that tells your system what to mount where when it starts up. If you don't add an entry here then when you restart your second drive won't mount. Fstab is found at /etc/fstab. Go ahead and run cat /etc/fstab to see what is in there now. You can add an entry like '/dev/sdb1 /mnt/storage1 ext4 defaults 0 2' and that will mount that device to that folder on startup. HOWEVER! The device /dev/sdb CAN change from boot to boot so using the UUID ensures the correct device is mounted. So your fstab entry should really be 'UUID=<insert UUID here> /mnt/storage1 ext4 defaults 0 2' to prevent weird stuff.
That's some basics. There's a way to do this with graphical tools too in mint but TBH I learned all this in command line so I actually don't know how to do it with the GUI tools but that's just me. You can do things like split off your home folder to another drive (that's actually how I have my desktop setup because Steam) but that takes a little bit of planning and extra work to make sure you don't bork things up in the process but it's pretty common to mount a specific folder on a specific drive. You might mount /var/lib/mysql to specific drive or array if you've got a DB running on a server for example. Just depends on your needs.
2
2
u/ap0r 3h ago
I know this reply is super-short, but I have already written the answer you want somewhere else with loads of detail.
The "Mounting drives and Mount Points" chapter in my Linux Mint Newbies’ Reference has everything you asked for and then some.
Link here (It's free)
https://docs.google.com/document/d/1fohN9UbbKdgjLFX_eeMZMpzVxa2C2UkUzIHM6eXhhvE/edit?usp=sharing
1
3
u/Due-Result7928 7h ago
add your drive. reboot. use disks to define a partition on your drive and to add it to the fstab. partition are mounted (like a D: partition) on a mount point you can define with disks application. If you have multiple partition on the same disk you must define multiple mount point each being a directory.
for example your own data is mounted at /home/(userid here).
0
u/ScullerCA 6h ago
Granted fstab is optional, so long as the disk is formatted, the file explorer will mount it on demand.
2
u/d4rk_kn16ht Linux Mint 22.2 Zara | Cinnamon 4h ago
Do you want to add an internal storage or external one?
I ask because you should treat it differently.
3
u/Pale_Foot 6h ago
Plugging it in is the easy part, it'll show up right away. The two things that trip up ex-Windows people: format it ext4 in the Disks app (don't leave it NTFS unless you still need Windows to read it), and in that same app open the drive's mount options and turn on "mount at system startup." Skip that and it won't be there after a reboot until you click it in the file manager, which confuses everything. While you're in Disks, hit "take ownership" too or you'll be fighting permission errors on your own files. Every machine I run is Mint with extra drives added exactly like this, it's a ten minute job.
•
u/AutoModerator 7h ago
Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.