burn bootloader to atmega8a-pu with arduino mega 2560 or arduino nano atmega168

Sorry if this is a lame question but how can I burn bootloader to atmega8a-pu with an arduino board I have?
I have to boards at my disposal Arduino Nano atmega168 and Arduino Mega2560.
I haven't found wiring at playground so I've decided to post my question here.
Atmega8 will be using external oscilator 16mhz, 30 pf caps (ZTT 16.0MX)
Sorry for if it's a lame question again!

I managed to burn bootloader with parallel programmer and ponyprog, the case is closed )