When I installed doth HDDs were recognised but elementary only gave the option to put things on one. I chose my SSD. It insisted on putting the swap file there too. Can I get access to the other drive now and move my swapfile? How do I do that?
You'll want to access the drives when they're not mounted, so install
gparted on a "live CD" or thumb drive, where you'll be able to toss your swap on one disk and create one on another.
Now to activate the partition
- Boot up elementary OS again and run
sudo gparted. Right-click on the swap drive and go to "Properties".
- Copy the partition's UUID.
sudo nano /etc/fstaband look at the line with "swap" in its third column. Replace the old UUID with the new one, save, and exit.
- Enable the swap with
sudo swapon --all --verbose
- Confirm its existence with
rebootto make sure it loads
This should basically have all the information you'll need.
Basically make a swap partition(or file) on the second drive and then configure swapon to use it.