Bootsplash Slackware 12.2 (Kernel 126.96.36.199-smp)
I trying to get Slackware 12.2 (Kernel 188.8.131.52-smp) to work with
some Bootsplash patch-files. I've found a patch-file for 2.6.27
and applied it, but after building the kernel, bootsplash won't
do anything. I've run a:
I tried a older patch-file but with the same success. =/
Can someone give me tutorial, or a working patch-file?
Or can someone advise my something on this topic?
Thanks in advanced!
You have to put 'splash=silent' in your kernel boot params (lilo.conf or grub menu.lst) Be sure to re-run lilo if you are using it. You'll also need the bootsplash utils so that you can display the progress bar during bootup -you'll have to hand-edit your init scripts for that.
I think there is a HOWTO on the Slackware WIKI here at LQ.
edited the rc.6, rc.S, rc.M files like the doc's samples.
Finally I made a initrd with:
But until now no success. =( The strange thing is that I
can't run splash from terminal with:
But I patched it serval times without errors and build it.
Oh, I see the problem now. Later 2.6 kernels need for the initrd to be a cpio archive. You need to follow the howto on the wiki as it tells how to do this. In effect, you need to create a normal initrd using mkinitrd(or manually) which contains the initrd.splash.
You can also search this forum as there are a couple of threads from a year ago, or so which tell how to do it.
Current 2.6 kernels don't work with a plain-file initrd like you have created.
I use the splash utility to make my initrd's. Seems to work ok over here. Hate to state the obvious but a message about not finding /proc/splash usually means you didn't enable bootsplash in your kernel config. You may have patched it but you still need to select it.
2.6.28.x is even working tho I fully expect it to break any day.
Also, try starting off with verbose first just to make sure it works. Then try your hand at silent.
Ok, I've made a cpio-archive and put the "initrd.bootsplash"
in the initrd-tree. Run a mkinitrd and I was getting a complete
initrd. So I tried that config, but the same. So, I followed
the Link from jong357 and looked around in the patches archive
from jaguarlinux, and found a patchfile too. Finally I set
the bootsplash option in the kernel-config. Then I tried that
but the same.
jong357, can you explain me a bit more specific what you have
done to get it working?
In the attachment is my kernel-config. Maybe I've
made a mistake, but I really don't believe that.
I found this bootsplash howto, it may be of use to you: http://n00bsys0p.wordpress.com/2009/...tsplash-howto/
Thanks Eric, but I worked with this and other Howto's.
I'm making somewhere a mistake with
building the kernel right.
Your comment of
Thanks for your help guy's =)
I've solved it finally! My Kernel worked fine,
but I've over redden this here:
Ok here is a complete making of:
1.) Download bootsplash-3.1.tar.bz2:
2.) Download the kernel-patch for your kernel:
3.) Open your kernel-source (/usr/src/linux/) in a Terminal:
> cd /usr/src/linux/
4.) Patch the kernel-source:
> patch -p1 < /path/to/bootsplash*.diff
5.) Change the settings of the config:
> make menuconfig (or) make xconfig
6.) Go to: "Device Drivers --->, Graphics support --->"
and disable "Bootup logo --->" and enable under
"Bootsplash configuration --->" the "Bootup splash screen" option.
After that check in "Device Drivers --->, Block devices --->"
the "RAM block device support". Then save the config.
7.) Build the kernel:
8.) Copy the new kernel to /boot with the System.map and the
9.) Go to /path/of/bootsplash-3.1/Utilities
and Build the splash utility:
> make splash
After that copy the new splash into /sbin.
10.) Go to /boot and make a new initrd-tree:
> mkinitrd -c -k 184.108.40.206-smp -m ext3 -f ext3 -r /dev/hda1
Check the mkinitrd man for the right use.
11.) Make a bootsplash initrd-file:
> splash -s -f /etc/bootsplash/themes/YOUR_THEME/config/bootsplash-1024x768.cfg >> /boot/initrd-tree/bootsplash
12.) Build the initrd-tree with mkinitrd:
You will get a brand new initrd.gz in your /boot!
13.) Edit your bootloader config to use the initrd.gz and
> "splash=silent vga=0x317" (or)
> "splash=verbose vga=0x317"
Thats all. If you want a other resolution look here
And keep a eye on the 16bit row! ;)
Now you can boot, and hopefully see your bootsplash!
Patches > 2.6.26 are just rediffed BTW.... Bootsplash is officially dead so don't get too comfortable with it.
solution for this task I think. ;)
Hope this helps.
|All times are GMT -5. The time now is 11:32 PM.|