Install Debian on WD My Cloud home

We should have some help understanding how to install a clean version on Debian ?
Does anybody know a CLI to reinstall debian with the same custom kernel used by forth32 .
Please guys keep this thread up and running