Decided to have the penguins permanent for December & January, so I had to learn how to use
cpio. Not easy, as the
info &
man pages are comprehensive but not helpful!
Remember
cpio must be run from the
command line as root
After some experimentation I ended up with this
Howto:
1. First make a new directory
/boot/temp, and copy the
message file into it from
/boot.
2. Open a terminal as root and:
3. Use
cpio to extract the contents:
You will see something like this:
Code:
florence:/boot/temp # ls -l
total 1148
-rw-r--r-- 1 99 99 112353 Dec 24 11:01 16x16.fnt
-rw-r--r-- 1 99 99 61152 Dec 24 11:01 back.jpg
-rw-r--r-- 1 99 99 3093 Dec 24 11:01 en.hlp
-rw-r--r-- 1 99 99 1543 Dec 24 11:01 en.tr
-rw-r--r-- 1 99 99 3281 Dec 24 22:06 gfxboot.cfg
-rw-r--r-- 1 99 99 84289 Dec 24 11:01 init
-rw-r--r-- 1 root root 6 Dec 24 11:01 lang
-rw-r--r-- 1 99 99 3 Dec 24 11:01 languages
-rw-r--r-- 1 root root 689152 Dec 24 22:08 message
-rw-r--r-- 1 99 99 229 Dec 24 11:01 pabout.txt
-rw-r--r-- 1 99 99 39431 Dec 24 11:01 panim.jpg
-rw-r--r-- 1 99 99 29857 Dec 24 11:01 panim_a.jpg
-rw-r--r-- 1 99 99 87451 Dec 24 11:01 pback.jpg
-rw-r--r-- 1 99 99 2124 Dec 24 11:01 phead.jpg
-rw-r--r-- 1 99 99 1719 Dec 24 11:01 timer_a.jpg
-rw-r--r-- 1 root root 312 Dec 24 11:01 translations.en
4. Open
gfxboot.cfg with your favourite text editor & find these two lines near the top in the
[base] section.
Code:
; penguin theme likelihood (in percent, -1 = auto)
penguin=-1
The animated penguin screen will appear at random with
penguin=-1. You can set it to anything from 0 to 100. With
penguin=0 they will never appear, and with
penguin=100 they will be permanent.
5. At the bottom of the file find this section:
Code:
[boot]
; show welcome animation
welcome=0
; beep when menu is ready
beep=0
and change
welcome=0 to
welcome=1 if it isn't already. If you want a beep to indicate when the menu is loaded, set
beep=1.
6. Once you save the file with the changes, you use cpio to re-archive it using this command string:
Code:
find . | cpio -o > message
This command makes a list of all the files in the current directory (
/boot/temp) sends the list to
cpio, and has it archive them to the file
message.
Easy!
I've lost most of my command line skills, so it took several hours of reading the man & info files and then Googling for cpio+usage. Enjoy.
PS Is this worth making into a Sticky?