Hello, I am new to this and need help

I have a new ATmega328 chip that has no bootloader on it, I read a few item on this forum. I have a Olimex Stk500v2 and a UNO board.
I tried using the Arduino022 software to download the bootloader and no luck. I did add the following to the programmers.txt but get errors
(my Olimex is on com2)
mexisp.name=AVR ISP 500 Olimex
olimexisp.communication=serial
olimexisp.protocol=stk500v2
I did avrdud and no luck there either, I read the flash from my old UNO, and tried to download to the new atmega328 (the download part went well) but still no luck.
I cannot download any program to my atmega328, I always get the time out error
What is the proper way :to download the boot loader to a UNO board?
I would greathly appreciate it
Thanks