Apple says: "When in single-user mode, the keyboard layout is U.S. English." (emphasis added)
Naturally, not every hardware keyboard to be used on a Mac in Single User Mode actually is printed according to the US English layout. Searching for answers on how to change the layout used in that mode came up empty. Depending on the real hardware used, even typing basic stuff on a non US-keyboard can become extremely difficult in SU-mode.
How should one change that, preferably pro-actively, before one has to do complex things in Single User Mode?
Only Bonus: Preferable answer would be a universal one that achieves that programmatically. That is: even better than "load French azerty layout by… "