Bootloader Problem - Attempting to Burn to ATMega on board?

Am following this and have run in to some problems.

I have a Ardunio Duemilanove ("compatible" board) with an ATMega168A-PU and a new ATMega328P-PU breadboarded as per the above link (only difference is I have mismatched cap sizes on the ground of the crystal at 18pF and 22pF).

I can upload the ArduinoISP sketch to the Duemilanove no problems, but when I go to burn I get avrdude giving the following error:

Expected signature for ATMEGA328P is 1E 95 0F

And it's identifying the chip as:

Device signature = 0x1e9406

This is the ID for the ATMega168A-PU. Seems like it's trying to write to that rather than the breadboarded ATMega328P-PU.

And idea what I could be doing wrong?

Try Nick Gammon's bootload installer sketch instead: and

Never go to the bottom of this, but managed to burn the bootloader with this guide: