modify ramdisk to fix nano errors by setting paths

Tested on N7 2013 and it sets the correct TERMINFO and TERM on boot.