Burning bootloader on atmega328p using mega2560

Hello,

can i burn bootloader on atmega328p using mega2560 board or do i need uno board?

No you can use a Mega, just need to identify the correct pins to use.

I successfully did it.

Here is the tutorial if someone needs it:

But in arduinoISP example you must change pins, it is configured for UNO board.
Here is pin config:

UNO MEGA
slave reset 10 53
M0SI 11 51
MIS0 12 50
SCK 13 52