There are a number of free secure eraser utilities that will allow you to create a boot & nuke disk (floppy or CD) - you can boot from it and use the utility to overwrite every block on your hard disk with random data. Depending on the utility, it might not work with a machine that has a RAID controller (hardare or software).
If you have a live linux boot CD, you can get to the command line, then use the following set of commands:
DevList=`fdisk -l | awk '{print $1}'| grep dev`
for Device in $DevList
do
i=1
while [ $i -le 5 ]
do
dd bs=1024 if=/dev/random of=$Device
i=`expr $i + 1`
done
done
This will wipe every disk device on your machine, including any attached USB devices, so be warned!
To be safe, you should do multiple passes - the script above will do 5 passes on every disk partition which should be more than enough to make it safe from anyone, excepting maybe the NSA.
Of course the best way to be totally sure is to take the HDD out of the machine before you give it away and physically destroy it - if you're giving the machine to a charity, you can pick up a hard drive for ~?50...