When booting into recovery mode (single user mode) I find it hard to do any troubleshooting because
1.)sh is the only shell that works. bash has some very erratic behavior after i hit enter as documented in this post:
I really miss things like bash completion in single user mode. Which brings me to my next issue.
2.)The arrow keys don't work in single user mode. This makes it next to impossible to edit config files, unless I want to go old school and use the super-unintuitive vi. It would also be nice if I could get bash working to be able to use the up arrow to repeat the previous command I issued in bash (assuming bash actually works in single user mode). It would be nice to use arrow keys and nano in single user mode when I'm troubleshooting issues that prevent normal booting.
Is there a way once I am in single user mode to run a program that configures the keyboard layout (so that I can use the arrow keys). Or is there a setting in GRUB I can set to facilitate use of the arrow keys in single user mode?
Also is there a way to get bash to actually work in single user mode?