Programming Atmega8-16PU error (not in sync)

You can't burn the bootloader with a USB-to-Serial connection. You need an ISP device. If you have an Arduino you can use the ArduinoISP sketch as your ISP device. You will need the 16 MHz crystal (and load caps) or 16 MHz resonator connected to your chip before you can burn the bootloader.