/bin/sh: Illegal option -h

Many a times, while running some scripts one cat get errors like "/bin/sh: Illegal option -h".

One of the reasons for this can be

ENABLING LOW LEVEL KERNEL DEBUGGING AND USING EARLY PRINTKs

In this post I am going to show how to enable low level kernel debugging option and how to enable 'printks' to get prints during boot up also.