You guys are talking about two different things. The boot selection screen that Michael was talking about does indeed have nothing to do with initrd, or anything else in linux for that matter, except that it was perhaps installed from it. The framebuffer graphics that Konstantin was talking about has been moved to initrd in 7.3 apparently. Presumably because it's so big now. The cute penguin in 7.2 was compiled into the module (it was hardcoded in the header file). Also, the code quoted below is quite irrelevant. The interesting bit is what happens outside those #ifdefs, which, apparently, is nothing afaics regards Anders On Friday 23 November 2001 22:25, Konstantin (Kastus) Shchuka wrote:
On Fri, Nov 23, 2001 at 03:52:21PM -0500, Michael Fischer wrote:
On Fri, Nov 23, Konstantin (Kastus) Shchuka wrote:
Splashscreen image is loaded from initrd.
You mean the cute translucent tux lilo screen SuSE has now?
Hmmm. I still get that regardless of the kernel/initrd setup I use. Seems the
menu-scheme = Wg:kw:Wg:Wg
line is what (at least partially) controls that.
No, this is insufficient. If you look at the source, /usr/src/linux/drivers/video/fbcon-splash.c :
#ifdef CONFIG_BLK_DEV_INITRD printk(KERN_INFO "Looking for boot splash picture...");
for (ndata=(unsigned char *)initrd_start; ndata<(unsigned char *)initrd_end; nd if (*((unsigned int *)ndata)==*((unsigned int *)signature) && *((unsigned int *)(ndata+4))==*((unsigned int *)(signature+4)) ) { printk("."); jpeg_size(ndata+20); if(splash_width == jpeg_x && splash_height == jpeg_y) { splash_text_x=*(unsigned short *)(ndata+8); splash_text_y=*(unsigned short *)(ndata+10); splash_text_w=*(unsigned short *)(ndata+12); splash_text_h=*(unsigned short *)(ndata+14); splash_size=*(unsigned int *)(ndata+16); splash_start=(unsigned long)(ndata+20); found=1; break; } /* Jump to next image */ ndata+=19+*(unsigned int *)(ndata+16); } }
if (!found) { printk(" no good signature found.\n"); return -1;
That means that graphics is loaded from initrd. Look also at /sbin/mk_initrd script. Splash picture is concatenated to initrd.
Also, you need to select proper video mode in lilo.conf. 791 or 792 or 0x317 or 0x318 gives 1024 x 768 pixels
May I also refer to the article in SDB: http://sdb.suse.de/en/sdb/html/jkoeke_splashscreen.html
BTW, thanks to you and Anders for responses.
No problem.
-Kastus.
Michael -- Michael Fischer 7.5 million years to run michael@visv.net printf "%d", 0x2a;