Bootloading Arduino Uno

Guys, I have an arduino board with atmega8 on it i wish to put a atmega328 on it, is it possible that i use the arduino with atmega8 as an AVRISP and bootload the atmega328 with arduino uno .hex file? I am confused because the tutorials show bootloading another arduino uno with an arduino uno, and that the breadboard technique only works with Arduino Duemilanove w/ an ATmega328. Thanks!

You can try loading the ArduinoISP sketch into the ATmega8. If the upload is successful you can then try to use it as an ISP. I don't know if the ATmega8 has enough memory to be successful.

You can get a USBasp from eBay for under $4. If you expect to be burning more than a few bootloaders in your life it might make a good investment.

Yes the uploading to ATmega8 was successful so now can i just use an external clock to bootload the new ATmega328 with Uno .hex file?

I have ordered the USBasp, but its a bit urgent thats why i wanted to ask if this would work as well.

arjun1111: Yes the uploading to ATmega8 was successful so now can i just use an external clock to bootload the new ATmega328 with Uno .hex file?

I'm not sure what you mean by "use an external clock". Do you mean on the ATmega8? Do you mean on the ATmega328P? Do you mean a crystal or resonator connected to the chip or some other source of clock?

I meant a 16MHz crystal

If you are using configuration "as is", then you can burn without crystal only raw chip and only first time otherwise you have use crystal. During bootloader burning there are burned fuses also and they are configured for use with crystal.

I do not have a 16MHz crystal but a *Mhz adn a 24MHz can i use those as an external clock?

I don't uderstand this:

...a *Mhz adn a 24MHz ...

Did you mean 8MHz and 24MHz? 8MHz could work. ATmega chips are up to 20MHz then I do not recommend to use crystal above this frequency. Less then 20MHz is possible for MCU with no problem, but for some Arduinos 16MHz crystal is needed to work properly without any changes in configuration (8MHz could work also).