UUID=(the partition's UUID) /mnt/mountpoint ext4 defaults,nofail 0 0but how do I do that for an encrypted drive? I see that besides fstab there's a crypttab in /etc. Would I edit that file instead, or do both crypttab and fstab need entries for the drive? What would the syntax be for the entry or entries?
I run a Synchronet BBS on that drive (which I'd encrypted a long time ago before I'd decided what to use it for) and need to start the bbs as a daemon when the computer boots, so the drive always has to be mounted at boot and be mounted in the same mount point for the daemon to work. The board's been down for a week and I really should get it running again, as now that I've finally got Mint installed and most of the bugs worked out of it that's the last thing I need to do to get everything working again the way it used to before my previous Linux installation soiled itself. I want to use the UUID in case Linux changes the device name from /dev/sdb1 to something else like /dev/sdc1, such as if I forget and leave an external drive connected when I boot up.