Use Atmega8/168 with Arduino UNO instead of atmega328p

Sorry if i'm going off-topic, but since this my ( ]:slight_smile: ) post, I'll still ask:

I'm trying to configure the atmega8 to run with its internal oscillator, but I seem to get errors from the compeiler.

I'm using this circuit, but with an 10uF capasitor between amega8-pin1 and Gnd (since I have an arduino UNO):

Since the atmega8 chip already have optiboot 16mhz bootloader installed, should I add an external oscillator (16mhz) when I'm burning an 8mhz bootloader?

And the Boards.txt:
Do some of you have a bootloader and a Boards.txt "file" that are working with the arduino IDE (1.0/1.0.1), making the atmega run at 8mhz?

I've tried several guides, but none of them seems to work.

Have some of you succeeded burning an 8mhz bootloader to an atmega8?

Thanks!