have you tried partimage? It is included with Knoppix. I think it is intended to do what you want to do but I have not had much luck with it.