Question: where are dmesg logs stored?
Answer: The contents of kernel ring buffer are also stored in /var/log/dmesg file. The dmesg command can be useful when system encounters any problem during its start-up, so by reading the contents of dmesg command you can actually find out where the problem occurred(as there are many steps in system boot-up sequence).