Remastering tips cookbook


Forum: DSL Tips and Tricks
Topic: Remastering tips cookbook
started by: hamada

Posted by hamada on April 09 2006,17:30
This is some tips that I came across while studing how DSL works, I hope this could
be useful to someone.

- All the init files are copied every boot from /etc/skel/ to /ramdisk/knoppix/
so if you want to change the system next boot,you have to change files in /etc/skel/
- To change the default fluxbox style that appear every boot change this file/etc/skel/.fluxbox/init
session.styleFile: /usr/share/fluxbox/styles/Nyz
replace the path to your favourite theme.
- The backgrounds images are inside /usr/share/fluxbox/backgrounds folder, and every style
have a background associated with it specified in the style file(/usr/share/fluxbox/styles).
- Some of the important files for Remastering are hidden so activate the view of hidden files in your
file manager or use the commande ls -a in console.

Posted by pr0f3550r on April 10 2006,18:36
I may argue against changing files directly in /etc/skel, for example, but it's matter of taste probably...
Posted by Onikage on April 12 2006,20:01
You can also change the way the system boots by modding the files in your home directory. Pretty much all of the init files are located in /home/dsl, and can be modified the same way.

In fact, if yau are running a frugal install and have your home directory specified on a HD partition. Any changes you make there will be restored on your next reboot.

But like pr0f3550r said, it really is a matter of personal choice... Happy hunting.

Posted by jimihieu on June 03 2006,06:10
Quote (hamada @ April 09 2006,13:30)
This is some tips that I came across while studing how DSL works, I hope this could
be useful to someone.

- All the init files are copied every boot from /etc/skel/ to /ramdisk/knoppix/
so if you want to change the system next boot,you have to change files in /etc/skel/

hi
sorry im pretty new to linux
what are the init files? i thought it only "init"?
sorry if this questions is dumb.
thanx

Posted by mikshaw on June 03 2006,14:03
They aren't really system init files in /etc/skel, but personal config files for the individual user.  They are not copied to /ramdisk/knoppix (which doesn't exist, ever), but instead are copied to /ramdisk/home/dsl (unless hamada is using a very old version of DSL?)

Changing the files in /etc/skel will generally do nothing to change the boot process...these files come into play only after boot has completed and the user logs in.  You can definitely change much about how the system behaves for you, the individual user, by modding these personal configs, but it does not actually change the system initialization in any way.

The actual init files are in /etc/init.d (run from /etc/rc*.d), and that's where they remain.

Posted by dartarrow on June 13 2006,06:53
I have a question, mostly irelevant but slightly is and since rc*.d is mentioned here Im gonna post here.
So here goes:
It is generally possible to remove the 'startx' command at rc*.d, well in most other distros anyway. The Problem is that im running init 5 and in rc5.d there is no script to startx. So how do I change that setting so I start in text mode? I'm using a USB embedded, running it sometimes from Windows, sometimes from Debian and sometime on my old crappy comps with no HDD's

Posted by mikshaw on June 13 2006,12:53
startx is a user command, and as such shouldn't ever be in rc*.d.  All those other distros that use an automatic graphical login are just silly and wasteful :laugh:

You'll find startx  in /home/dsl/.bash_profile

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