Quote:
Originally Posted by KhaoSlacker
For those who have had problems with bootsplash after using http://slackwiki.org/Bootsplash ...
Thanks to those who have made their problems known, the wiki has been updated extensively.
|
Well, maybe it was updated, but when I tried yesterday to follow the instructions, I could not make the splash working.
This part of the wiki is really not clear:
"splash -s -f /home/username/Downloads/bootsplashtheme/config/bootsplash-1024x768.cfg >> /boot/initrd.splash
For generic kernel users, you'll have to converge your stock initrd.gz and the bootsplash initrds.
mkinitrd
cp /boot/initrd.splash /boot/initrd-tree/"
Ok, the command for splash produces the proper bootsplash, but why not directly to the initrd-tree directory?
Also, why running mkinitrd before actually copying the initrd.splash to the initrd-tree?
Then:
"After putting the initrd-splash into the mkinitrd's initrd-tree you'll need to run mkinitrd again with some computer specific options. Example:
mkinitrd -c -m reiserfs"
Again, why run -c option when according to the mkinitrd help it "clears the existing initrd tree first"?
So, you carefully prepare your bootsplash, copy it to the initrd-tree and then wipe it out with the c option? Makes no sense.
This article:
http://linuxhelp.150m.com/boot/bootsplash.htm
mentioned above, explains how to get it right, although it suggests to uncompress the existing initrd.gz.
In Slackware after creating the first initrd.gz the initrd-tree directory is left in /boot. Therefore, there is no need to uncompress the initrd.gz. It is enough to add the bootsplash to the initrd-tree and regenerate the initrd with mkinitrd command.
Here is briefly how I have done that producing successfully the initrd with bootsplash:
1. Go to /boot and create the initrd with 'mkinitrd -c -m modulename' command. If you use the 2.6 generic kernel you are already using initrd, so you can safely skip this point and you should already have the initrd-tree in the /boot.
2. Cd to /boot/initrd-tree and issue:
splash -s -f /etc/bootsplash/themes/mytheme/config/bootsplash-1024x768.cfg >> /boot/initrd-tree/bootsplash
Now, you have the bootsplash initrd in the proper place. Notice, I called it bootsplash instead of initrd.splash.
3. Cd to /boot and regenerate your initrd with this command:
mkinitrd -o /boot/initrd.splash
This will regenerate the initrd with the modules you used in 1. This initrd.splash will already boot correctly.
4. Re-run lilo making sure you have append="splash=silent" and initrd=/boot/initrd.splash in the lilo.conf. Simply type lilo as root.
5. Reboot Slackware and you should have a working bootsplash and the linux will boot properly.
You can repeat this procedure as many times as you want simply removing the previous bootsplash files from initrd-tree and generating new ones based on different themes and producing initrd.splash files with consecutive numbers and change them by editing lilo.conf at will. As a matter as fact I have 3 themes which I like and change them when I feel like it.
This will also fix the mounting of the root partition under /media in KDE which does not work in Slackware 12 when fs modules are compiled to the kernel.
Hope this helps.
Oliwer