Keep getting errors while burning bootloader to nano

So i recently bought some nanos off the internet and they need to be flashed in order to work. So I grabbed my Uno and hooked it all up. However I keep getting errors. Here is my verbose output attached as .txt because it exceeds 9000 characters and I can't post it.

Do you have any idea whats wrong? I'm running Ubuntu 16.04.01

output.txt (10 KB)

Looks like the efuse byte is being written 0x05 (0b00000101) but reads back 0xFD (0b11111101). I suspect that the upper 5 bits can't be written. It might work if you change boards.txt to set the efuse byte to 0xFD.

nano.menu.cpu.atmega328.bootloader.extended_fuses=0xFD