Can't Burn Bootloader using Arduino nano as ISP to Atmega328 on Linux

I have a successful "burn bootloader" using windows with Arduino nano as ISP, but when I try to use linux, there is an error message like this:

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x10
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): unknown response=0x12
Error while burning bootloader.

I am using linux mint 18.1 serena,

I managed to upload sketch, serial.print etc without any problem. but for burning bootloader, I failed.
can someone tell how to solve it?