Burn Arduino Bootloader to Arduino, from Arduino

I want to burn the Arduino bootloader to an Arduino from an Arduino. I have an Arduino Duemilanove, and I want to take the chip(ATMega328) off, and use it in a circuit, without having to connect the whole Arduino to the circuit. However, I then have an Arduino with no chip. So, Can I just put a regular ATMega328(I know I can just buy one with the bootloader already on it, but I would rather do itmyself.) into the Arduino, connect it to the computer, and use the Arduino IDE(I'm using 0021- the most up to date one) to burn the bootloader to it? If so, how? If I cant, is there any way to easily do it with only another Arduino with the bootloader on it?


G007 years ago
The short answer is yes...

But in reality is a long process, here is the link:

http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html