I think you meant a 40 GB HDD...
For partitioning, you can look up online and pick a good partitioning tool to your liking. most of them have a relatively simple interface that will do the job. Another option would be to use The Disk Manager function under Administrative Tools in Control panel, if you are using Windows.