Atmega168PA bootloader - Arduino Nano

Atmega328p on the my Arduino Nano was burned. I've an Atmega168PA and decided to replace 328 with 168. Anyway, I've soldered it on the board and tried to load bootloader in 168PA.
First, I used an USBasp programmer with Arduno IDE. My setting was:
Board: Arduino Nano
Processor: Atmega 168
Programmer USBasp.

When I want to load bootloader I've received an error message that the processor is not Atmega168.(signature difference of 168P and 168PA)

I've tried same process to use another nano as a ISP. But no success.
How can I load bootloader in a ATmega168PA?
Regards.

They have different signatures : Which variation of the ATMega168 should I choose? - #2 by CrossRoads - Other Hardware Development - Arduino Forum

You have to make a new board definition in boards.txt, or copy the ATmega168P and change that for the ATmega168PA.

If avrdude would complain, you also have to add to it the conf file of avrdude.

Or temporarily change avrdude.conf. There should be a "Ignore signature" button in the IDE.

Are there help files/docs about boards.txt and avrdude.conf? ("howto boards.txt" and "howto avrdude.conf")