Joined: Nov. 2005
||Posted: Feb. 28 2006,00:13
Hi there !
Maybe I'll find the solution to this alone but I thought it might be an interesting topic to share...
So here's the problem : I have a frugal install of DSL 2.2b with ten extensions loaded at boot. XFree86 (with the driver for my touchpad), gtk2, gkrellm, extra fonts, myconf.tar.gz and my own Firefox 1.5 and Thunderbird extensions in French. Uncompressing all this during boot takes about a minute, so I thought it might be a good idea to do a remaster. To cut shorter the boot time and avoid loading by default .dsl extensions. Now this is what I did :
Boot dsl from frugal with cheatcodes 2 base norestore vga=792 nodhcp toram
#mount -rw /dev/hda6 /mnt/hda6 (my Ubuntu home partition with lots of free space)
#mount /dev/hda3 /mnt/hda3 (with mydsl extensions)
#cp -Rp /KNOPPIX/* /mnt/hda6/source
#cp -Rp KNOPPIX/.bash_profile /mnt/hda6/source
Copied my extensions from /mnt/hda3 to /mnt/hda6/source/home/dsl
Loaded all extensions with mydsl-load
$exit (user dsl)
#exit (the chroot)
Deleted the extensions in source/home/dsl
#mkisofs -R /mnt/hda6/source | create_compressed_fs - 65536 > /mnt/hda6/new/KNOPPIX/KNOPPIX
Deleted the source directory and replaced the original KNOPPIX file with the new one.
This took about 20 minutes, I wanted something I can do quickly with every new release of DSL.
As I expected the boot time has been cut down by almost a minute, and everything works fine except the fonts in Gtk2 applications look horrible. My .xinitrc did /usr/bin/start_gtk2 I could see it on the screen just before X started, but...
Is anyone here doing something similar, or has an idea of what could be wrong ?
Computers are useless, they can only give you answers. Pablo Picasso