Embedded boot to runlevel 2


Forum: DSL Embedded
Topic: Embedded boot to runlevel 2
started by: n6hgg

Posted by n6hgg on Nov. 05 2005,07:04
Been searching for this for awhile, but I would like to know how to boot to runlevel 2 or 3 (dsl 2 or dsl 3) when booting inside windows or using the dsl-linux.sh script.  This is really great, and if I could use runlevel 2 or 3 I could run this on a 400mhz windows box.  It's easy on a live cd by typing whatever I want in the boot prompt.  Where doI go to make this emedded version boot to RL2 or 3?

Bob
n6hgg@hwn.org

Posted by n6hgg on Nov. 07 2005,04:49
After 591 looks at the other post on this subject and 31 to this post, I would have to assume that there is no way to boot to run level 2 with the embedded usb pen drive version of DSL.  Interesting.  Maybe the solution is to brew up one with run level 2 as default in /etc/inittab .   Just guessing...

I'm sure I'm just missing something that can be changed in one of the files prior to booting either with the windows.bat or dsl-linux.sh scripts.
Bob

Posted by n6hgg on Nov. 07 2005,06:17
I figured out how to boot to run level 2 permanently if desired.  In the dls-linux.sh file, change this part of the string:
-append "qemu frugal quiet"
add dsl 2 after the quotes so it reads:
-append "dsl 2 qemu frugal quiet"
then save the file, reboot using the dsl-linux.sh script and it will boot to run level 2.

Same thing in the dsl-windows.bat file for a windows boot:
change the following:
-append "qemu sb=0x220,5,1,1 frugal quiet"
add dsl 2 after the quotes so it reads:
-append "dsl 2 qemu sb=0x220,5,1,1 frugal quiet"
save the file, then boot dsl by double clicking the dsl-windows.bat file.

If all you want is a text only browser, this is a good way to have it.  Type (without quotes) "links www.damnsmalllinux.org" and the links text browser jumps to life.  Pretty nice without having to wait for the xserver to come up on slower machines.  

Bob

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.