i tried many so many dvd rom but it always says ata #1 error
Firstly ATA #0 means HDD (in most cases)
ATA #1 means CD/DVD drive
Access the BIOS pressing F2 while powering the notebook and check the first BIOS page.
The CD/DVD drive should be listed on the first page near the HDD details.
If the CD/DVD drive (ODD) is not listed there, then this means that BIOS could not detect the optical disk drive…
In such case the hardware malfunction is possible and you would need to replace the ODD.