LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-20-2010, 10:43 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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.
 
Old 08-20-2010, 10:47 AM   #2
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
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

Last edited by aocab; 08-20-2010 at 10:59 AM.
 
Old 08-20-2010, 10:57 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
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
 
Old 08-20-2010, 11:03 AM   #4
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Thank you so much! That page was very helpful.
 
Old 08-20-2010, 11:10 AM   #5
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
Nice to see people still using Lilo!
 
Old 08-20-2010, 11:11 AM   #6
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
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

Last edited by try-alls; 08-20-2010 at 11:35 AM. Reason: typo's
 
Old 08-20-2010, 11:19 AM   #7
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
I think using the slack.dat provided in lilo's slackbuild source would be helpful.
 
Old 08-20-2010, 11:34 AM   #8
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by corbis_demon View Post
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)

Last edited by try-alls; 08-20-2010 at 11:35 AM. Reason: typo's
 
Old 08-20-2010, 11:47 AM   #9
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
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.

Last edited by corbis_demon; 08-20-2010 at 11:53 AM. Reason: added information
 
Old 08-20-2010, 11:53 AM   #10
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
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
 
Old 08-20-2010, 11:55 AM   #11
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by try-alls View Post
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.
 
Old 08-20-2010, 12:01 PM   #12
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
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.

Last edited by corbis_demon; 08-20-2010 at 12:04 PM.
 
Old 08-20-2010, 01:07 PM   #13
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
Quote:
Originally Posted by corbis_demon View Post
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"

Last edited by try-alls; 08-20-2010 at 01:14 PM.
 
Old 08-20-2010, 01:30 PM   #14
try-alls
Member
 
Registered: Dec 2009
Distribution: changes all the time
Posts: 79

Rep: Reputation: 15
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

Last edited by try-alls; 08-20-2010 at 01:43 PM.
 
Old 08-20-2010, 02:27 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What does Gimp say about your bmp? Dimensions, depth etc..
 
  


Reply

Tags
bootsplash, liloconf, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server not recognizing changes to BMP image tekmann33 Linux - Newbie 3 10-05-2007 08:03 AM
How to display BMP image at stdout.....help plz susovan0010 Linux - Newbie 5 09-17-2007 11:12 AM
saving webcam image to bmp Four Programming 0 12-13-2006 08:04 PM
if lilo bmp image missing ? abs Slackware 8 08-17-2004 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration