I'm not going to guarantee this will work, but...
1. Boot a LiveCD (Ubuntu, DSL, Knoppix etc) to the terminal
2. Use dd to make an ISO image:
Code:
dd if=/dev/hda of=/path/to/output/file
3. Burn ISO to CD or DVD
I'm not sure if you're be able to write the output file to the RAMdisk, so unless you have a second hard drive that you're note imagine, you could mount that and output to there, otherwise you'll need to network mount something and output there...