Error when burning bootloader

You can not burn a boot loader via USB. You either need another Arduino (with correct sketch loaded) or a programmer. Maybe I'm misunderstanding what you're saying in your opening post.