you can make a bootable CD of iDefrag by using Coriolis CDMaker but im not sure about Diskwarrior.
if you have a spare hard drive or external disk make a clone of your system using SuperDuper! or Carbon Copy Cloner and you can then use DiskWarrior and iDefrag on your main system while booted into the clone.