OK, It is the terminal output which can be important, should say exactly what the error was or at least point that way.
I suspect I know what is happening when linuxcnc fails to start, but without the error message I cannot be sure.
I probably assumed too much knowledge and familiarity with my original advice
If you have changed the
loadrt stepgen line in your .hal file, have you also changed the axis settings lines?
If you look at the man page for stepgen, you will see that
stepspace, dirsetup and
dirhold do not apply to a type 2 stepgen and those pins will not exist.
If you are editing a stepconf generated config they will be set for a type 0 stepgen and these pins will be initiated with several
setp lines per axis
You need to comment them out
Also note that the
dirdelay pin will exist for a type 2 stepgen and needs to be set with a sensible delay for direction changes in nano secs
I have no idea what that figure should be, I would probably start at the same value as the dirhold was set to and see what happened.
Have you seen this as a bit more detailed account of the stepgen outputs?
www.linuxcnc.org/docs/html/hal/rtcomps.html
regards