LinHES Forums http://forum.linhes.org/ |
|
changing theme in bootsplash under R5.5 http://forum.linhes.org/viewtopic.php?f=6&t=18680 |
Page 1 of 1 |
Author: | graysky [ Sat Aug 02, 2008 10:58 am ] |
Post subject: | changing theme in bootsplash under R5.5 |
I made my own 800x600 bootsplash theme for my R5.5 box but I can't for the life of me figure out how to enable it. I found a guide here which I've followed to the last step where I'm stuck. <Please don't flame me if this is a simple fix, what I know about bootsplash I learned by googling around> I completed the "Installing a theme" section by simply replacing the /etc/bootsplash/themes/knoppmyth/images/bootsplash-800x600.jpg with my modified image (saved to a jpeg q=0.75 image so I know it'll work with BS). The .cfg will remain the same since I more or less used the same dimensions in my jpg as the supplied one. I completed the "Creating an initial ramdisk" section as well, but am stuck I think on the "Configuring bootsplash and the bootloader" section where it teaches you to edit your /etc/lilo.conf. R5.5's seems to use initrd=initrd.gz but the guide is using initrd=/boot/bootsplash-initrd. I don't want to roach my system by modding since I don't know what I'm doing with here. Advice is welcomed and thanks in advance ![]() Relevant sections from that guide I linked above in case it goes away as things on the web often do: Code: Installing a theme:
=================== Install a bootsplash theme by running the following commands: mkdir -p /etc/bootsplash/themes cd /etc/bootsplash/themes tar -xvjf /path/to/your/theme Now create a symlink that points to the default theme that will be used: ln -s /path/to/your/theme current Creating an initial ramdisk: ============================ To show a splashimage on kernel startup, bootsplash uses an initial ramdisk. Create an initial ramdisk by running the following command: /sbin/splash -s -f \ /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg > \ /boot/bootsplash-initrd Note: If you want to boot into a resolution other than 1024x768, simply replace 1024x768 by your favorite resolution. Remember to do the same during the following sections. Also make sure that your theme supports the resolution that you choose. Configuring bootsplash and the bootloader: ========================================== Bootsplash can display a picture on the background of your terminals, but this is only automatically done for tty1. To add a background to tty2, tty3, tty4, tty5 and tty6, run the following command, where * is the tty number minus 1: splash -n -s -u * \ /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg Note: To have all your tty's get a nice background on startup, you can put this command into a bootscript. Now configure your bootloader. This hint provides the instructions for lilo and grub. If you're using another bootloader, check out its documentation. The instructions will probably be very similar. - for lilo: Edit /etc/lilo.conf Make sure to change the kernel entry to match your new kernel. Under the entry for your kernel, add: vga=791 initrd=/boot/bootsplash-initrd append="splash=silent" Now apply your changes by running the following command: lilo |
Author: | graysky [ Sat Aug 02, 2008 11:15 am ] |
Post subject: | |
Update: looks like I managed to get my jpg to display on all the tty's except #1 on boot. (ctrl+alt+F2 though F6 all show my jpg). How can I get displayed on tty1? I did a: Code: # splash -n -s -u 0 \
/etc/bootsplash/themes/current/config/mytheme/bootsplash-800x600.cfg Which does change it on tty0 (ctrl+alt+F1), but it doesn't survive a reboot. The bootscript section isn't making sense for me. Thanks again! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |