LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Using a different slack.bmp image in Lilo (https://www.linuxquestions.org/questions/slackware-14/using-a-different-slack-bmp-image-in-lilo-827466/)

corbis_demon 08-20-2010 10:43 AM

Using a different slack.bmp image in Lilo
 
Hi, I want to use a different bmp image in Lilo when the system boots up. What I want to know is how do I get this new image to confirm to the specs as detailed in liloconfig. Or are these specifications only a guideline? Please advise.

aocab 08-20-2010 10:47 AM

this page helped me...
http://www.yzzerdd.net/index.php?pag...are/bootsplash

But I did not compile a new kernel for the verbose/silent splash
images...I only changed the slack.bmp.
HTH

Basically all I did was replace the slack.bmp image with
the one from that page and adjusted part of lilo.conf
to move the timer count down to the lower left of the screen
and to put my operating system choices at the upper right...
and then just ran lilo:
Quote:

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 236,,,254,,
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 1,30,236,0

willysr 08-20-2010 10:57 AM

no wonder, it was created in 2006, where the bootsplash patches were not yet included in the kernel
right now, you can just change the .bmp in /etc/lilo.conf and re-run lilo :D

corbis_demon 08-20-2010 11:03 AM

Thank you so much! That page was very helpful. :)

corbis_demon 08-20-2010 11:10 AM

Nice to see people still using Lilo! :D

try-alls 08-20-2010 11:11 AM

i have a wallpaper that i made myself an has now become my gdm, xfce splash an wallpaper.
i used gimp to turn it onto .bmp renamed it to slack.bmp an moved the original elsewhere but when i ran lilo it came up sayin (off memory) something about invalid bit map or words to that effect, any ideas?

EDIT: here is the link to the pack i made http://xfce-look.org/content/show.ph...content=128689

either of these pics will work with the standard lilo layout as the "detail" is centred

corbis_demon 08-20-2010 11:19 AM

I think using the slack.dat provided in lilo's slackbuild source would be helpful.

try-alls 08-20-2010 11:34 AM

Quote:

Originally Posted by corbis_demon (Post 4072548)
I think using the slack.dat provided in lilo's slackbuild source would be helpful.

ok dumbass moment but can you go into more detail please
i.e. will this muck up my current lilo config etc etc ( i am a former buntu user so used to the "babysitting", lol)

corbis_demon 08-20-2010 11:47 AM

He He..no problem. I was referring to this file.
I'm not sure you mean liloconfig or lilo.conf; I'm guessing you mean the /etc/lilo.conf file. No, this file is a generated companion file to the slack.bmp that can be found here, and it won't alter your lilo.conf. It'd really help you , if you were to go to the link provided aocab, in his earlier post.

try-alls 08-20-2010 11:53 AM

so how would i use this as it looks like a sample of the lilo config (to me anyway)

here is my current lilo config
Quote:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
compact
lba32

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 10
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only
# Linux bootable partition config ends

dive 08-20-2010 11:55 AM

Quote:

Originally Posted by try-alls (Post 4072542)
lilo it came up sayin (off memory) something about invalid bit map or words to that effect, any ideas?

It's probably a problem with size or bit depth.

corbis_demon 08-20-2010 12:01 PM

You can use the "lilo -E" command on your image file to adjust it's color,table and timer variables.

EDIT: I mentioned the slack.dat so that it might serve as a reference. It is generated when you run the "lilo -E filename.bmp" command.

try-alls 08-20-2010 01:07 PM

Quote:

Originally Posted by corbis_demon (Post 4072574)
You can use the "lilo -E" command on your image file to adjust it's color,table and timer variables.

EDIT: I mentioned the slack.dat so that it might serve as a reference. It is generated when you run the "lilo -E filename.bmp" command.


ah cool, as the post above this mentions bit depth etc the image does have rgb on it (well thats what comes up in the title bar on gimp lol)

i will give this command a go now an reboot to see if its worked an report back, thanks people


EDIT: ran the command (whilst the image was in my pictures folder) an it said "bash: lilo: command not found"

try-alls 08-20-2010 01:30 PM

ah the command is /sbin/lilo -E FILENAME* but now it give me some options to which i am noobishly unsure:
Quote:

rich@AMILO ~> /sbin/lilo -E slack.bmp
Editing contents of bitmap file: slack.bmp

Table dimensions:
Number of columns: 1
Entries per column (number of rows): 25
Table upper left corner:
Column(X): 13 (chars) or 96p (pixels) Row(Y): 6 (chars) or 80p (pixels)

Text colors:
Normal: Foreground: 7 Background: transparent Shadow: none
Highlight: Foreground: 15 Background: transparent Shadow: none
Timer: Foreground: 7 Background: 0 Shadow: none
Timer position:
Column(X): 65 (chars) or 512p (pixels) Row(Y): 3 (chars) or 32p (pixels)

Commands are: L)ayout, C)olors, T)imer, Q)uit, W)rite:
how would i use these options

i went for broke and just write then yes for the next two questions and it still returns with "fatal unsupported bitmap", if there are any gimp masters (wow that sounds a lil wierd) that could give me info an how to make it supported with gimp that may make this easier,
i know some of you could prob do it for me but thats not the point i need to learn lol

thanks again in advance

dive 08-20-2010 02:27 PM

What does Gimp say about your bmp? Dimensions, depth etc..


All times are GMT -5. The time now is 11:13 AM.