Hello Comrades,

Thanks for all your advice about setting up Linux. It was a success. The problem is that I’m now I’m intrigued and I’d like to play around a bit more.

I’m thinking of building a cheap-ish computer but I have a few questions. I’ll split them into separate posts to make things easier. Note: I won’t be installing anything that I can’t get to work on Linux.

Question about storage and swap memory.

I plan to install an SSD of maybe 128–256GB for the system files and a larger HDD for storage. I would partition the SSD so that I could install a few different distros without losing any installation. This way I can commit to some longer experiments before deciding which distro to use.

The question is: should I have the swap partition on the SSD (with the OS partition) or (separately) on the HDD?

And if I install multiple distros, do I need a different swap partition for each one? For example, if I install 16GB RAM, do I need a 16GB partition for, say, Mint, Debian, and Ubuntu? Or can I let them ‘share’ the swap partition?

Are there any additional security/privacy risks of installing more than one distro on the same SSD card?

  • albigu
    link
    110 months ago

    You definitely can’t do it with a NVME/PCI Express SSD because it gets slotted within the board, but technically I think something is possible with a SATA HDD. I have never seen anything like this and I bet it would have some risks of damaging the HDDs if misused. You’d still be having to open the PC and fumble with cables and I don’t think it’d that much better, since SATA cables are very cheap. If you do get 2 or more SATA HDDs, I think you could just disconnect the power only from the HDD and just switch them that way.

    Though what I actually recommend you do in case you want to do something like that is to get a couple of cheap USB drives (possibly even the “portable hdd/ssd” types that go up to 500GB but depends on your intent) and install your other OS’s in those. They are on par in speed with a modern HDD and will be less of a hassle if you want to keep some of them having separate physical access to the rest. They also have the extra benefit of being easy to use in different machines if needed. Just remember to encrypt their root partition in case they have sensitive data since they’re also easier to steal.

    P.S. I just remembered I had a lot of trouble when trying to figure out which SSDs are compatible with my board because store sites are not very consistent, and it wouldn’t hurt to warn. Be sure to check the device interface before you buy.