I wonder how I am going to do that becauce machine goes stuck before it even mounted the root directory.
Oops, did not realize that. Exactly when in the boot process is it doing what you described?