In the 'Ubuntu 10.04 First Time Use Script 0.2 Released: It Now Comes With A GUI' post, it has been suggested in the comments to add an option to automatically mount NTFS drives on startup. The problem was that I didn't know how to do this using the command line, but I finally figured how to do it so I decided to release this as a separate script first. I will of course also add it to the 'Ubuntu First Time Use Script' (a new version is coming very soon!).
A few explanations on what the script does:
The Automatically Mount NTFS Drives script installs ntfs-3g, then looks up all the NTFS drives on your computer. Once it finds all of them, it creates a folder in /media for each of the NTFS drives, like: sda1, sda5, and so on. The script then writes a line in your /etc/fstab file for each of your NTFS drives so that each NTFS drive is mounted in it's corresponding folder. If you already have some lines containing 'ntfs-3g' in your /etc/fstab file, the script skips all of this (in case someone runs it twice).
To download and run the script, simply paste this in a terminal:
wget http://webupd8.googlecode.com/files/autontfs_0.2.4
chmod +x autontfs_0.2.4
sudo ./autontfs_0.2.4
Note: for now I've only tested it on Ubuntu Karmic, but I'll also test it on Lucid in a few hours. But it should work just fine anyway.