knoppix overlay=/dev/sda1
3. At the start of mountdata(), use checkbootparam() to check for if the overlay parameter exists
Your way to use a own cheatcode and test for it within a modified init (of minirt.gz) is a simple and nice solution.