Why is there an expectation the the Bible will talk about dinosaurs or bacteria/viruses specifically? It would not be meaningful for a book focused on the spiritual to provide a treatise on dinosaurs, bacteria/viruses, unless the authors were somehow trying hard to address possible disbelief thousands of years later, which they were not.
However, the existence of dinosaurs does not conflict with Genesis at all. The Bible simply says animals were created before man. For how long animals existed before the creation of man is not specified, it could have been millions of years. This allows for dinosaurs to have existed and gone extinct before man came along.
Also, the Bible does not talk about bacteria/viruses, but in the books of Moses, scientifically sound instructions are given as to how to curb the spread of disease through personal hygiene (e.g., burying human waste) and quarantining, etc. This implies a knowledge of the germ theory of disease. Contrast this with the ancient Egyptian "medical" practices of applying human waste poultices to open wounds, and the practice of open defecation common in many parts of the world even now.