Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub title
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hede
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 160
Location: Siegen/Germany

PostPosted: Wed Oct 26, 2005 2:12 pm    Post subject: grub title Reply with quote

grub displays in menu mode at the first line something like the following:
Code:
GRUB  version 0.5.96  (640K lower / 3072K upper memory)

i recently switcht from lilo, with lilo you can change this to everything you want.
my lilo.conf line doing this was: menu-title="such dir eins aus"
is it possible to change it to any other string i.e. in menu.lst?

i've found
Code:
GNU GRUB  version %s  (%dK lower / %dK upper memory)
somewhere in /sbin/grub.
seems to be a hardcoded thing... :(

i've read the grub handbook and searched per google but found nothing (but the handbook doesnt mention splashimage, neither)
do i really have to hack the binary or sourcecode to change this bootloader-title? :x
_________________
Der süsse Pinguin ist mir lieber als die kleinen weichen, die einem nur kaputte Fenster verkaufen
Back to top
View user's profile Send private message
hede
Apprentice
Apprentice


Joined: 07 Nov 2003
Posts: 160
Location: Siegen/Germany

PostPosted: Wed Oct 26, 2005 5:53 pm    Post subject: Reply with quote

doh, no message? there was an email in my mailbox telling me someone answered...!? deleted?

ok, if no one else is here, i can answer my self.
i've (hex)edited my stage2-file to present my own text:
original:
Code:
00017C60   0A 20 20 20  20 47 4E 55  20 47 52 55  42 20 20 76  .    GNU GRUB  v
00017C70   65 72 73 69  6F 6E 20 25  73 20 20 28  25 64 4B 20  ersion %s  (%dK
00017C80   6C 6F 77 65  72 20 2F 20  25 64 4B 20  75 70 70 65  lower / %dK uppe
00017C90   72 20 6D 65  6D 6F 72 79  29 0A 0A 00  20 20 45 53  r memory)...  ES

now:
Code:
00017C60   0A 20 20 20  20 53 75 63  68 20 64 69  72 20 65 69  .    Such dir ei
00017C70   6E 20 53 79  73 74 65 6D  20 61 75 73  20 2D 20 64  n System aus - d
00017C80   65 69 6E 20  42 6F 6F 74  6C 6F 61 64  65 72 20 47  ein Bootloader G
00017C90   4E 55 20 47  52 55 42 20  20 0A 0A 00  20 20 45 53  NU GRUB  ...  ES


no conventional way, but it's working :twisted:
_________________
Der süsse Pinguin ist mir lieber als die kleinen weichen, die einem nur kaputte Fenster verkaufen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum