Bootloader

I am trying to upload the bootloader to a atmega328 via the arduino ide and i get the following error

Error while burning bootloader.

avrdude: usbdev_open(): did not find any USB device "usb"

any ideas as to what i am doing wrong?

What hardware programmer are you selecting from the burn bootloader menu on the IDE?

Lefty

AVRISP MKII

Well the error you getting sounds like you haven't installed the programmer's driver correctly as AVRDUDE can't find the programmer. Does your PC sound that a USB device is being seen when you first plug in the programmer to the PC?

Lefty

yes. and i can access it using the AVR Studio but not sure which bootloader file to use from the Arduino directory?