Strip XVesa


Forum: X and Fluxbox
Topic: Strip XVesa
started by: KriS

Posted by KriS on Aug. 16 2004,13:50
Hi,

for a remaster of DSL I'd like to strip DSL of XVesa and everything that's X-Related. I'd like to make DSL even Smaller and just have a textbased Linux.

Could someone tell me how and what I can remove, to get the best result?

Thx in advance
So long
KriS

Posted by YK on Sep. 14 2004,20:29
I'm interested in a similar thing.  I would like to have DSL boot into text mode automatically, and then optionally start X11 (using startx).

I have tried quite a few things (modifying the isolinux.cfg, xsetup.sh, etc.) with no success.

I also tried searching the forums and the web, but have not found a way of doing it (that is hopefully also easy and elegant).

Regards,
YK

Posted by roberts on Sep. 14 2004,21:42
For the CLI commandos...

Boot into text mode as user dsl.
Edit .bash_profile and remove the startx
Add home/dsl/.bash_profile to your filetool.lst
Boot with the restore=<your drive info here>

You will have text mode and then can optionally type startx

Posted by YK on Sep. 14 2004,22:48
roberts,

Thank you for this info.  However, it seems to me this will only work for a HD install of DSL.  I am remastering the DSL distro and would like the text only mode to occur during initial boot from the CD.  It should then be possible to execute startx (if the user so desires).

Is there a way to achieve this result without the use of the "resotore" feature?

Regards,
YK

Posted by roberts on Sep. 14 2004,23:38
YK, sure, just make a tiny extension.

myconf.tar.gz

which contains

/home/dsl/.bash_profile

then add the myconf.tar.gz to the root directory of the cd.

I use mkmydsl script.

But some use windows, or multi-session or other such means.

My myconf.tar.gz also has my network printer setup. Using this technique you can make a custom cd with many options.

Also, the new mkmydsl script will even prompt for other boot time options too, so no need to edit system files, e.g., toram dma

There is so much flexibility you are limited only by your creativity.

I would start by testing and "debug" by first placing your myconf.tar.gz on a hard drive partition and testing by booting with the mydsl=xxxx

Once you are ready then burn the cd.

Posted by ke4nt1 on Sep. 15 2004,12:53
So cool....

73
ke4nt

Posted by YK on Sep. 15 2004,15:50
roberts,

Thanks for that suggestion.  Your idea can be very useful for embedding changes across DSL versions.

FYI, I was also able to achieve the same result by setting the default runlevel to 3 in /etc/inittab.

Regards,
YK

Posted by roberts on Sep. 15 2004,18:47
I don't promote that kind of change for the following reason. One of the strengths of DSL is that it represents a complex unit that can be upgraded enmasse, with all local customization kept completely separate (not intermixed with the "installed" files)
Posted by YK on Sep. 20 2004,17:46
roberts,

I understand your point and agree with you.  However, this first implementation is a "proof-of-concept" done with essentially no budget (thus mostly on my own time) with the stated objective of not using a hard disk.  Once proven, I will probably look into packaging into a .dsl or .tar.gz that can be migrated between DSL versions.

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