Unlike every other distro, Slackware doesn’t brand anything. Everything is vanilla. So when you boot, you see the original linux penguin logo at the top of your screen.
Download the latest kernel source from kernel.org. I’ll be using here kernel 2.6.32 source and 2.6.32.1 patch. So you understand that you don’t need to download the whole kernel source every-time a new kernel version is released. If you have the previous source or a kernel source which is older, say 2.6.31, then you will need all the subsequent incremental patches from 2.6.31.1 to 2.6.32.1 and you will need to apply them one by one to the kernel source. I’ll just be showing one.
First download the source from kernel.org and the subsequent incremental patches. I just need patch 2.6.32.1. Now get root privilege using “su” or if you prefer to use “sudo” then put that in front of every code. Move the downloaded kernel source to /usr/src. I have been hearing people say that this old method of kernel compiling at /usr/src is outdated and frowned upon, usually /home is preferred nowadays, well not for me. I like the traditional way.
mv /path/to/linux-version.tar.bz2 /usr/src tar xvjf linux-version.tar.bz2 rm -r linux [if any] ln -s linux-version linux mv /path/to/patch-version.bz2 /usr/src/linux bunzip2 patch-version.bz2 patch -p1 < patch-version
Note: Replace the “version” accordingly. An useful tip: Use tab completion to save time typing.
Now, it’s time to get the logo. I’m going to upload a ready-made logo for the fellow Slackers, but if you want some other logo then download/create a png image.
Step 1: Open the image in gimp or wherever.
Step 2: Scale the image to 80×80
Step 3: Save the image back to png format. Name it logo.png.
Now open terminal and type:
pngtopnm logo.png | ppmquant -fs 223 | pnmtoplainpnm > logo_linux_clut224.ppm cp logo_linux_clut224.ppm /usr/src/linux/drivers/video/logo/
As promised for the Slackers, you may use this one and just copy it over as shown above.
Another logo here.
Now the usual compiling. In my previous guides I showed you how to compile kernel and create an initrd image, this time let’s do it without one.
cd /usr/src/linux make mrproper make menuconfig
In General Setup -> Local version – you can use your nick or anything, I use -pdg and then select below “Automatically append version information to the version string”.
Choose Kernel compression mode as LZMA for a smaller kernel size but slower compression.
Processor type and features —> Processor family -> Mine is Core 2, choose yours accordingly.
File systems —> Build in (*) the root partition, if its ext4 then build in ext4, if it’s XFS, build in XFS. Don’t build as modules (M).
Device Drivers —> Graphics Support –>
- Support for frame buffer devices
- VESA VGA graphics support
- Video mode selection support
- Framebuffer Console support
- Select compiled-in fonts
- VGA 8×16 font
- Bootup logo
- Standard 224-color Linux logo
Now save and exit. Time to compile.
make -j3
Use no. of CPUs+1, for Core 2 Duo it’s 2+1 = 3
After it’s done:
make modules_install cp arch/x86/boot/bzImage /boot/kernel-version-localversion
Change version-localversion accordingly.
cp System.map /boot/System.map-version-localversion cp .config /boot/config-version-localversion cd /boot rm vmlinuz ln -s kernel-version-localversion vmlinuz rm System.map ln -s System.map-version-localversion System.map ln -s config-version-localversion config nano /etc/lilo.conf
Now see if there is an entry:
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
If not, add it.
/sbin/lilo
Now reboot and enjoy your new boot logo.
Regards

4 responses to “[guide] Patch and Compile Kernel with Custom Boot Logo”
tricqster
December 29th, 2009 at 16:08
Thank you, I like this blue slackware logo more than the original one.
And thank you for all of this nice articles, I’m very happy, that I found your blog, good and helpful articles. Especially slackware related. It’s not easy to find them, I’m glad I can learn more how to work with this great distro, set it up, and customize it.
Spoon Rest
November 17th, 2010 at 23:32
i use both open office and microsoft office and i would say that microsoft office is more responsive and user friendly *,*
amd fusion laptop
July 15th, 2011 at 12:00
I want to move to linux but it is too techie for me
Brandan
September 14th, 2011 at 11:26
Great web site. Lots of beneficial data here. I am going to sending it to 3 associates ans also sharing in delicious. And of course, great sweat!
1 Trackbacks / Pingbacks
[guide] Patch and Compile Kernel with Custom Boot Logo « The Linux … Ubuntu Netbook December 18th, 2009 at 18:23
[...] posted here: [guide] Patch and Compile Kernel with Custom Boot Logo « The Linux … By admin | category: ubuntu kde | tags: archiso-live, delivers-working, feature-list, [...]