View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#37
Originally Posted by RobbieThe1st View Post
Ok, guys, I'm trying to add this to Backupmenu.
I've managed to get fbcon to load(requires bitblit, font and softcursor),
In my experience "modprobe fbcon" will auto-load the necessary requisite modules. Maybe it's different inside bootmenu (since you mentioned it's chrooted when in bootmenu).

Originally Posted by RobbieThe1st View Post
but despite it loading and seemingly giving me a console(I see the boot log in the background, like having a framebuffer kernel), I cannot get an interactive shell.
running 'sh' just ends immediately.
Note that I haven't grabbed 'loadkmap' yet, but I'd expect to *see* a console, even if I can't type much if at all.
Or am I wrong there?
Loadkmap isn't necessary for a shell. If you run it without loadkmap you'll just end up unable to enter the blue/fn-arrow keys. The normal letters and their shifted versions should still work, so you should still be able to type "exit" to end the shell and use ctrl+i for tab-completion.

Originally Posted by RobbieThe1st View Post
Code:
					busybox sh
					$T2S -s 2 -H center -y $y -T 0xF800 -t "line: $?"; y=$((y+20))
					pressAnyKey
What's the whole "$T2S -s ..." line after it do?

Since you have "press any key" after busybox sh, can you tell me what exactly you're doing? Are you trying to run the press any key prompt inside the busybox shell? Because that might cause "sh" to terminate upon executing the command specified?