CHM files are just archives with html and an index file inside.
On Windows I can extract CHM files using 7zip. There are also a lot of Windows tools which you could run in a virtual machine.
There is a linux program called xchm (
http://xchm.sourceforge.net/index.html) which may be able to convert chm files