It is currently Sun May 19, 2013 8:50 am

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: [HOWTO] Zenwalk bootsplash
PostPosted: Fri Mar 31, 2006 5:14 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Mar 10, 2006 4:46 am
Posts: 3631
Location: Still on IPv4
Seeing all those messages scrolling before your eyes at boot time might be very informative, but it's not beautiful :). If you want a beautiful splash screen like SuSE for example - look no further :).

For this, you'll need the following stuff:
Kernel bootsplash patches: [ftp]ftp://ftp.openbios.org/pub/bootsplash[/ftp]
Solstice's bootsplash utilities package

And some boot splash screens:
Fred Broder's bootsplashes
Kim Moritz Nolde's bootsplashes (not linkable directly; klick on 'Bootsplashes' on the left).

Now let's get down to business, shall we?

Patching & configuring the kernel
You can either download the kernel sources from netpkg, or take the vanilla kernel from kernel.org. Pay attention - if you use reiser4 and take vanilla sources, be sure to apply the reiser4 patch to them. Now, if you got the kernel sources, check this howto for rebuilding your kernel.

Attention: As we speak, the latest available bootsplash patch is for the 2.6.15 kernel. However, you can perfectly use it on 2.6.16, with a little tweaking. Just change to the dir where the patch is in, and proceed like this:
Code:
mv bootsplash-3.1.6-2.6.15.diff bootsplash-3.1.6-2.6.15.diff.tmp
sed 's/2.6.15/2.6.16/g' bootsplash-3.1.6-2.6.15.diff.tmp > bootsplash-3.1.6-2.6.15.diff
rm bootsplash-3.1.6-2.6.15.diff.tmp


After that, you can apply the patch to the 2.6.16 sources, just like described in the kernel howto. For convenience, you can do a 'make oldconfig'. This is not indispensable, but it's quite convenient, as it will only ask you about the options yet to be configured (i.e. the ones the patch added). After that, run a 'make gconfig' to configure graphically.
Then check for the kernel config to look exactly like this:
Code:
Device drivers >
  Graphics support >
    Support for framebuffer devices [Y]
        VESA VGA graphics support [Y]
      Logo configuration >
        Bootup logo [Y]
           Standard 224-color Linux logo [Y]
      Bootsplash configuration
        Bootup splash screen [Y]


If that matches, you're set. We need initial RAM disk support also in the kernel, but that's enabled in the default Zenwalk kernel configuration - so save & exit. Now build your kernel. Don't be lazy, you can do other stuff when your kernel is building :P. So get your ass back up in here, and start with the second part!

Installing & configuring your actual bootsplash
Install the bootsplash tgz you downloaded before. It contains the utilities needed to build a bootsplash. First, you need to install the themes though. Check if /etc/bootsplash/themes exists, if not, create it:
Code:
# mkdir -p /etc/bootsplash/themes


Then extract the bootsplash themes to that dir:
Code:
# tar zxvf [bootsplash archive] -C /etc/bootsplash/themes


After that, you have to decide what theme you'll use. Then, you have to install it as your bootsplash:
Code:
splash -s -f /etc/bootsplash/themes/[insert your choice]/config/bootsplash-1024x768.cfg >> /boot/initrd.splash

That will create the initial RAM disk.

Now we'll edit the startup & shutdown scripts to match. First, add the following to /etc/rc.d/rc.local:
Code:
if [ -x /etc/rc.d/rc.splash]; then
   . /etc/rc.d/rc.splash
fi


Then we modify /etc/rc.d/rc.M and /etc/rc.d/rc.6. At the top of rc.M, we add this as first command:
Code:
/usr/sbin/bootsplash start &


At the top of rc.6, we put this:
Code:
/usr/sbin/bootsplash stop &


Preparing lilo for the new kernel and bootsplash
At the top of /etc/lilo.conf, you add the following:
Code:
append = "splash=silent"


In the linux bootable partition section, add a new entry for your kernel. You can use an entry similar to the default one; however, you need to add this one line to the new entry:
Code:
initrd = /boot/initrd.splash


Your entry should look like this:
Code:
image = /boot/vmlinuz-splash
  initrd = /boot/initrd.splash
  root = /dev/hda1
  label = Zenwalk-splash
  read-only


That's it - you're good to go now. Just run lilo:
Code:
lilo -v

and enjoy the beauty of the splash screen :). Have fun!

_________________
Leenucks - the greatest thing since evolution theory || Questions about forum etiquette? Feel free to PM me.


Last edited by Borromini on Sat Apr 01, 2006 9:17 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Fri Mar 31, 2006 7:49 pm 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Tue Mar 28, 2006 6:29 pm
Posts: 286
Location: London, UK
For verbose, you'll probably just have to change

append = "splash=silent"

to

append = "splash=verbose"

right?

_________________
Image
Image


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Fri Mar 31, 2006 7:59 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Mar 10, 2006 4:46 am
Posts: 3631
Location: Still on IPv4
Yes, or press F2 during booting :).

_________________
Leenucks - the greatest thing since evolution theory || Questions about forum etiquette? Feel free to PM me.


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Sat Apr 01, 2006 12:49 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sun Mar 12, 2006 4:53 pm
Posts: 123
Location: Poland
My favorite from "gone with the wind" forum.
Thank you for revitalising it (I guess there is word like "revitalize" in English), anyone has "changing you root patition" or can rewrite it?

Regards
Michal


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Sat Apr 01, 2006 4:05 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Mar 15, 2006 5:06 pm
Posts: 102
Location: Washington, USA
vonski wrote:
(I guess there is word like "revitalize" in English)


i'd say "resurrecting" myself. ^_^


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Sat Apr 01, 2006 5:54 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Mar 22, 2006 12:05 am
Posts: 22
hey, is this howto "compatible" with zenwalk 2.2?
::)

thanx,

duke


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Sat Apr 01, 2006 6:07 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Mar 10, 2006 4:46 am
Posts: 3631
Location: Still on IPv4
Duke... What do you think? ;)

_________________
Leenucks - the greatest thing since evolution theory || Questions about forum etiquette? Feel free to PM me.


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Thu Apr 06, 2006 8:10 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Wed Mar 22, 2006 12:05 am
Posts: 22
I think it's a "yes"....Gonna give it a try this week
thanx,
duke.


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Wed Aug 09, 2006 12:03 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Tue Mar 28, 2006 6:29 pm
Posts: 286
Location: London, UK
I got the first bootsplash from here and only followed these lines:

Code:
Then extract the bootsplash themes to that dir:
Code:
# tar zxvf [bootsplash archive] -C /etc/bootsplash/themes

After that, you have to decide what theme you'll use. Then, you have to install it as your bootsplash:
Code:
splash -s -f /etc/bootsplash/themes/[insert your choice]/config/bootsplash-1024x768.cfg >> /boot/initrd.splash
That will create the initial RAM disk.


since the kernel is already bootsplash enabled. I get no errors, but the bootsplash is still the default zenwalk blue one.

This doesn't make sense, since my lilo.conf has the initrd set to /boot/initrd.splash. I don't see what else needs to be done.

_________________
Image
Image


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Mon Aug 14, 2006 8:03 pm 
Experienced Zenwalker
Experienced Zenwalker

Joined: Wed Jul 26, 2006 12:48 pm
Posts: 197
Did you have old /boot/initrd.splash file before you entered splash -s -f /etc/bootsplash/themes/[insert your choice]/config/bootsplash-1024x768.cfg >> /boot/initrd.splash? If you did, try to give it another name and then reenter the command and rewrite lilo.


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Tue Aug 15, 2006 12:08 am 
Zenwalk Spin-offs
Zenwalk Spin-offs

Joined: Sat May 06, 2006 7:20 pm
Posts: 495
Location: Mendoza, Argentina
DarkJesus wrote:
...I don't see what else needs to be done.


Did you run lilo after creating your new RAM disk?

You need to run lilo after editing the lilo.conf for changes to be updated.


Last edited by zariweb on Tue Aug 15, 2006 12:10 am, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Tue Aug 15, 2006 1:17 am 
Senior Zenwalker
Senior Zenwalker
User avatar

Joined: Tue Mar 28, 2006 6:29 pm
Posts: 286
Location: London, UK
I did Fox's solution and it worked. I moved the old initrd.splash to initrd.splash.old. Then I did all the stuff again.

_________________
Image
Image


 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Mon Oct 16, 2006 9:56 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Sat Mar 25, 2006 7:46 am
Posts: 128
Location: Southport, NW UK
I like a minimal lilo prompt so I add to lilo.conf

install=text
message=/boot/boot_message.txt

I then edit my /boot/boot_message.txt to read

Win or Zen?

with one blank line below

I also rem out the following lines

# bitmap=/boot/splash.bmp
# bmp-table=234p,348p,1,4
# bmp-colors=220,0,,255,220,
# bmp-timer=539p,396p,220,0,

and the run lilo

My prompt then looks like this ;

LILO 22.7.3
Win or Zen?
Boot:

Pretty Zen I reckon and of course there is more than one way to answer this :)

_________________
Guard your thoughts, they become words. Choose your words, they become actions. Understand your actions, they become habits. Study your habits, they mould your character ... it will be your fate.


Last edited by cpcnw on Wed Oct 18, 2006 2:50 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: [HOWTO] Zenwalk bootsplash
PostPosted: Thu Oct 26, 2006 12:07 pm 
Experienced Zenwalker
Experienced Zenwalker

Joined: Fri Oct 20, 2006 4:38 pm
Posts: 237
Thanks for the tutorial and the help on IRC Borromini, you're right: creating my own initrd WAS easy ;)

:P


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
 
cron