Assuming you're using iLife '08...
Simply move the iPhoto Library file to desired location on the hard drive. When you start up iPhoto, it will tell you that it can't find your library file, and ask if you want to browse for it. Choose "Browse..." and locate the file.
The iPhoto library file can be found here:
username\Pictures\iPhoto Library