make it easier to use and debug

Hello,
I found that this diskless system is hard to debug and use sometimes, I just add some features in it, and it really help me to debug and use, don't know your thinking, hope this commit can be merged to the master branch, thanks!
Peter