[Debsplash-devel] debsplash mini-howto

Luis M Luis M <lemsx1@gmail.com>
Sun, 9 Jan 2005 12:04:39 -0500


Hello all,

NOTE: please note that this is experimental code, meant for people who
know what they are doing.

This mini-howto explains how to get debsplash up and running right
from the CVS repository:
http://alioth.debian.org/scm/?group_id=30539

You will need:

1. kernel sources
2. kernel-package, gcc and essential-build stuff, plus dpkg-dev and cdbs
3. debsplash sources
4. others that skip my mind, but dpkg-buildpackage will remind you...

* get the kernel sources (i usually get them from kernel.org)
* unpack into /usr/src/linux-2.6.10
* ln -s /usr/src/linux-2.6.10 /usr/src/linux
* cd /usr/src/linux
* cp /boot/config-`uname -r` .config
* make oldconfig
* make prepare
* cd /usr/src/
* mkdir debsplash && cd debsplash
* get the sources for debsplash:
cvs -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/debsplash login 
[PRESS ENTER when prompted for password]
cvs -z3 -d:pserver:anonymous@cvs.alioth.debian.org:/cvsroot/debsplash
co debsplash
* cd debsplash 
* ln -s /usr/src/linux linux # or wherever you have your linux sources
* ln -s /usr/src/linux libs/klibc-0.179/linux
* ./make.sh
* dpkg-buildpackage
* cd ../
* dpkg -i kernel-patch*.deb debsplash-*.deb
* cd /usr/src
* wget http://www.latinomixed.com/downloads/make-kpkg.sh.gz
* gunzip make-kpkg.sh.gz
* cd linux
* /usr/src/make-kpkg.sh -fbs-1
[ Follow the prompts to build a kernel package ]
* cd /usr/src/
* dpkg -i kernel-image-2.6.10-fbs-1*.deb

After that you will need to backup your /etc/init.d/rc file and copy
the one from:

/usr/share/doc/debsplash/scripts/rc 
to
/etc/init.d/rc

Then you will need to edit your /boot/grub/menu.lst file and add a
section like this (of course, root= has to point to your root
partition. See other examples at the end of the menu.lst file):

title           Linux
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.10-fbs-1 root=/dev/hda2 ro
video=vesafb:ywrap,pmipal,mtrr splash=silent,theme:Psychotoxic
vga=0x317
initrd          /boot/debsplash/debsplash.cpio.gz
savedefault
boot

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST

Reboot and enjoy!

P.S. The only drawback right now is that at the end of the splash
screen, debsplash doesn't release the console for gdm/kdm/xdm to take
over and switch to virtual terminal 7. So, you will need to do:

hit F2 (or ESC) on your keyboard to go to debsplash's verbose mode
hit ALT+F7 on your keyboard, to go to virtual terminal 7 and start X
(it will start automatically).

We are working on fixing that issue and the code will be in CVS as
soon as it's ready for prime time.

Enjoy!

-- 
----)(----- 
Luis M
System Administrator
LatinoMixed.com 

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html