... why it doesn't work. The fact that the "cd" command did run (you say ... wasn't necessary to switch it to "Boot to Console" mode, although, if ... I assume that you did test the script generated by "autoexpect" and ... onscreen? Presumably, if the Python script "didn't run", there would ...