LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Missing tux logo in Sarge? (https://www.linuxquestions.org/questions/debian-26/missing-tux-logo-in-sarge-213191/)

uk_dave 08-04-2004 02:23 AM

Missing tux logo in Sarge?
 
Hi,
I have been running Debian Woody for a while now. I had the line "vga=791" in my lilo.conf file so my console was running in 1024x768 and I got a cute Tux logo in the corner as my system booted.

Yesterday though, I did a fresh install Debian Sarge onto the same system and I was rather surprised to find that I no longer get the Tux logo at bootup! I added the "vga=791" line back into /boot/grub/menu.lst to get my nice 1024x768 console back which worked, but I still don't get a Tux logo!

Is there an easy fix for this, or do I need to recompile the kernel and enable some special option? This would seem a little strange though if an experimatal option was enabled in an older version of Debian but not a newer one.

Once I have my tux logo back I then want to install teh boot-icons package which I discovered whilst Googling on how to get my Tux logo back!

- David

Frustin 08-04-2004 04:08 AM

well you will only get the logo if you have framebuffers installed in your kernel.

uk_dave 08-04-2004 08:17 AM

Well it's switching to 1024x768 when it boots up and the output from dmesg is:

vesafb: framebuffer at 0xe1800000, mapped to 0xc801b000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=4
vesafb: protected mode interface info at c000:7dac
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0

Also, I installed the boot-icons package anyway and as the system boots the various icons appear at the top of the screen, however the text soon overwrites them and covers them up.

m_yates 08-04-2004 09:08 AM

The reason is because the boot logo is disabled in the Debian kernel configuration. To fix it, you will have to recompile your kernel I'm afraid. When you get to configuring the kernel, you will have to enable the boot logo before compiling. I added the Debian boot logo instead of tux on my kernel. I described how I did it here: http://www.linuxquestions.org/questi...hreadid=206992

uk_dave 08-04-2004 10:19 AM

Cheers for the reply. I was fearing i might have to recompile my kernel (i've had some bad experiences in the past), but I'll have a go and see if I can get it to work.

uk_dave 08-04-2004 05:51 PM

I started trying to recompile my kernel to get the tux/debian logo. Your guide is for the 2.6 kernel, but I am still using 2.4.25. I managed to download the kernel-source and debian logo patch, and then patch my kernel. I also copied the config file from /boot. Your instructions then say to run "make menuconfig" and go to the frame buffer driver section. I've done this, but I don't see any options for logos, though there are lots of modules for fb console drivers! I've had a hunt around some of the other menus but still cant find anything. Where am I supposed to look for the logo configuration?

m_yates 08-04-2004 09:17 PM

I think for the 2.4.x kernels you just need to enable the framebuffer. The boot logo will be there automatically. The configuration is different with the 2.6.x kernels, where you do have an option to turn the boot logo on or off.

uk_dave 08-05-2004 02:07 AM

Thanks for the reply. I'll try that, however. I am slightly confused - When my system boots up I says stuff about using the Vesa frame buffer (see output of dmesg above), and also I copied the config file from /boot to /usr/src/linux and make menuconfig shows that all the framebuffer support is enabled. I thought the Tux logo was supposed to appear by default with a framebuffer console?

Either way I'll try recompiling and see what happens...

m_yates 08-05-2004 07:25 AM

Well, I guess my two answers are incongruent. Sorry. :( I was thinking of the 2.6 kernel which has the option to turn the boot logo on or of in the configuration. The default debian configuration has it turned off. For the 2.4 kernel, I checked and I don't see the same option. Therefore, I think the boot logo should always appear if the framebuffer support is working. Did you notice that the boot messages have smaller font sizes when you increase the resolution?

uk_dave 08-05-2004 03:35 PM

I am currently recompiling my kernel which I have patched with the debian-logo patch. Apart from that I am using the original config file copied from /boot, so we shall have to wait and see if it works.

Currently I am using the original debian 2.4.25 kernel. When I installed Debian Sarge it used what ever the default console mode is. As not much could be fitted on the screen I added "vga=791" to my grub config and this then gave me a console at 1024x768 so the text was much smaller but there were more lines on the screen.

As I understand it that is a framebuffer console isn't it? Or am I completly misunderstanding this? If this is a framebuffer console then where is Tux? You say the the tux logo should be there by default with a framebuffer console and the help text for the Vesa Framebuffer driver also states that, so I am a bit confused!

Once my kernel has recompiled I'm sure all will be come clear (hopefully).

m_yates 08-05-2004 03:43 PM

If your text got a lot smaller upon adding the vga= line, it means the framebuffer is working. As to where tux is, I don't know. Hopefully adding the debian patch will fix things up, or someone else reading this may have an answer. Good luck!

littlemidget 08-05-2004 04:27 PM

Re: Missing tux logo in Sarge?
 
Quote:

Originally posted by uk_dave
I added the "vga=791" line back into /boot/grub/menu.lst to get my nice 1024x768 console back which worked, but I still don't get a Tux logo!
.. I tried to put that into my /boot/grub/menu.lst - but it didn't work. I didn't get a nice 1024x768 console. Maybe i put the line in the wrong place? Could you tell me where in /boot/grub/menu.lst you have your "vga=791"? :-)

uk_dave 08-05-2004 04:42 PM

Here's where's the section from my /boot/grub/menu.lst file:

Code:

title          Debian GNU/Linux, kernel 2.4.25-1-386
root            (hd0,0)
kernel          /boot/vmlinuz-2.4.25-1-386 root=/dev/hda1 ro vga=791
initrd          /boot/initrd.img-2.4.25-1-386
savedefault
boot


littlemidget 08-05-2004 04:57 PM

thanks, uk_dave :-)

If anyone knows how to get tux up in that corner without having to recompile, then i would be really glad to hear about it :-P

macondo 08-05-2004 09:00 PM

in lilo.conf:

# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=791
vga=normal

Hehe, i'm the opposite, i don't like the framebuffer

Frustin 08-06-2004 02:58 AM

why?

uk_dave 08-06-2004 03:41 AM

I've compilied a couple of kernels now, neither of which work. One boots properly but the screen stays completly blank (after a few mins I can SSH into it, etc.), the other one refuses to boot. I've never had much luck with compiling kernels.

I'm still not sure whether this will actually solve the problem, because since I installed the debian boot-icons package (this displays hard disk icons, network icons, etc. at various states of the boot-up process), I can see the icons appear briefly (including tux) but they are very quickly overwritten by the text as it scrolls up the screen. With Debian Woody there was an area at the top of the screen where there would be no text because that's where Tux would be, this is not so on the same system running Sarge.

Maybe I'm just not ment to have a cute Tux logo on my screen :cry:

macondo 08-06-2004 10:58 AM

"why?"

it affect my fonts and hangs my computer.

Well, i showed you where the 'vga= 791' in lilo.conf should go, did you try it?

littlemidget 08-06-2004 11:17 AM

Quote:

Originally posted by uk_dave
I installed the debian boot-icons package (this displays hard disk icons, network icons, etc. at various states of the boot-up process), I can see the icons appear briefly (including tux)
Could you give me the name of that package? I want to try it here.. :-)

uk_dave 08-06-2004 12:08 PM

It's simply called "boot-icons" - http://packages.debian.org/unstable/admin/boot-icons

It's in the unstable distribution so you might need to add something like:
&nbsp;&nbsp;deb http://ftp.uk.debian.org/debian/ unstable main
to /etc/apt/sources.list

Then do
&nbsp;&nbsp;apt-get update
&nbsp;&nbsp;apt-get -t unstable install boot-icons

littlemidget 08-06-2004 12:17 PM

Thank you, uk_dave.

Well, I have the same problem .. I can see his head, and then a little flower, but that's it :-(

uk_dave 08-06-2004 12:25 PM

I got a friend to help me compile some kernels. I have now tried various 2.4 and 2.6 kernels (using Debian's kernel-source packages) with and without the debian-logo patch and cann't see either Tux or the Debian logo.

Just like littlemidget, all I see each time is Tux's head (occasionly), and then a little flower (from boot-icons package) and that's it.

littlemidget 08-06-2004 12:27 PM

I know that my bf has a huge debian-logo when his comp boots. I'll ask him later today. Maybe he can help :-)

kidicarus 08-06-2004 12:38 PM

I upgraded my kernel to 2.6 just to get away from that beer drinking whore for the beer industry

littlemidget 08-06-2004 05:46 PM

Quote:

Originally posted by littlemidget
I know that my bf has a huge debian-logo when his comp boots. I'll ask him later today. Maybe he can help :-)
Ok. My bf said that he installed something called debian-logo (?), and fixed something in /etc/inittab/.

uk_dave 08-06-2004 05:49 PM

Any idea what he did in /etc/inittab?

Well, i've now decided to go back to Debian Woody which I am just finising setting up, but at last I have the Tux logo back!

littlemidget 08-06-2004 05:51 PM

Quote:

Originally posted by uk_dave
Any idea what he did in /etc/inittab?

Well, i've now decided to go back to Debian Woody which I am just finising setting up, but at last I have the Tux logo back!

No, I will ask him when he's online tomorrow... I can't believe you gave up, uk_dave :-P

uk_dave 08-06-2004 05:52 PM

heh, I know - I'm a defeatist :)

littlemidget 08-06-2004 06:33 PM

Shame on you for giving up, uk_dave.

I think i just figured it out :-)

To get this cute debian-logo during boot (http://pastebin.com/89797) do this:


Showing the Logo Above Login Prompts (Good for Local Logins)

This method will show the logo above your logins on your virtual terminals, I.E. when you hit ctrl+alt+FX (where FX is F1-F6), and also on tty1 (F1) when you bootup if you like. After you've installed the linuxlogo package, edit the file /etc/inittab. For each terminal you want the logo on, add '-f /etc/issue.linuxlogo' to the getty command (issue.linuxlogo.ascii if you don't want color) so that the settings should look like this:

Original:
1:2345:respawn:/sbin/getty 38400 tty1

Logo:
1:2345:respawn:/sbin/getty -f /etc/issue.linuxlogo 38400 tty1

Showing the Logo as the MOTD After You Login (Good for Remote Logins)

This method is nice for a machine you don't access locally, like a server box that you only login to remotely over your LAN. First, move your old motd out of the way and create a new one:

mv /etc/motd /etc/motd.old
/usr/bin/linux_logo > /etc/motd

Next, edit /etc/init.d/bootmisc.sh and change these lines:

uname -a > /etc/motd.tmp
sed 1d /etc/motd >> /etc/motd.tmp
mv /etc/motd.tmp /etc/motd

To:

# uname -a > /etc/motd.tmp
# sed 1d /etc/motd >> /etc/motd.tmp
/usr/bin/linux_logo > /etc/motd.tmp
sed 1,18d /etc/motd >> /etc/motd.tmp
mv /etc/motd.tmp /etc/motd

After you've edited it, run '/etc/init.d/bootmisc.sh' and you should now see the logo on login, as in Figure 1 below. If you want to add a message of the day to the file, just add the message to the end of /etc/motd, don't leave a blank line in between as it will add one on it's own.

Yes, i took this from http://www.linuxorbit.com/modules.ph...tid=548&page=1

EDIT: I just rebooted, and yes, i saw the logo (kinda small, i want it to be all over the screen.. and it was only on for a few seconds..).

littlemidget 08-06-2004 06:56 PM

The logo is small because i have my bootscreenthing in 1024x768-mode, make those numbers smaller - and you have a big logo :-)

I'm happy with the way it is now, I see the logo for a while right before my laptop turns off/reboots :-)

uk_dave 08-06-2004 07:06 PM

Reading that article, it looks like its talking about a ascii-art logo, where as I was trying to get the frame buffer Tux logo to appear.

http://www.uk-dave.com/projects/xbox...ot-linux-1.jpg

littlemidget 08-06-2004 07:08 PM

I know. I found an article on that aswell, but you would have to recompile to get it working .. and i'm too lazy (and scared of fucking things up) to do that now :-)

uk_dave 08-06-2004 07:14 PM

heh, yeah I hate compiling stuff, especially kernels. Fortunatly this the machine im setting up not my main pc!

Anyway, here is a (rather poor) image of my console complete with the Tux logo and the boot-icons:
http://www.uk-dave.com/files/img_0071.jpg

littlemidget 08-06-2004 07:17 PM

Sweet :-) *wants tux on her screen*

Guess I just have to live with the reboot-debian-logo :-)


All times are GMT -5. The time now is 10:10 PM.