Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO : gfxmenu on patched grub [tested on amd64]
View unanswered posts
View posts from last 24 hours

rackathon
Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Sun Jul 03, 2005 3:17 pm    Post subject: HOWTO : gfxmenu on patched grub [tested on amd64] Reply with quote

anyone likes suse's patched bootloader [grub] like me? if u dont know what i am saying u can look to screenshot [thanks Loci79 for taking ss on vmware]


http://www.geocities.com/g1powermac/vmwarescreen.JPG [srry i cannot find any ss except this :( )

Lets start then

STEP 1

Downloading ebuilds + gentoo theme :

This is patched grub And gfxboot ebuilds from gentoo bugzilla :

http://bugs.gentoo.org/attachment.cgi?id=58698&action=view

And this is our gentoo theme (good theme thanks )

http://bugs.gentoo.org/attachment.cgi?id=58699&action=view

STEP 2

Chaning portage overlay :

i am using /usr/local/portage overlay.change if u re using different :

Code:

localhost xxx-video # cat /etc/make.conf | grep PORTDIR_OVERLAY=
PORTDIR_OVERLAY="/usr/local/portage"


STEP 3

Extracting ebuilds and then lets digest both
Code:

cp grub-0.96-r2-gfxsplash-3.0-ebuilds.tar.bz2 /usr/local && tar -xjpvf grub-0.96-r2-gfxsplash-3.0-ebuilds.tar.bz



Code:


ebuild /usr/local/portage/sys-boot/grub/grub-0.96-r2.ebuild digest
ebuild /usr/local/portage/media-gfx/gfxboot/gfxboot-3.0.15-r1.ebuild digest


STEP 4
Unmerging previous grub :

Code:

emerge -C grub


STEP 5

Installing ebuilds :

Code:


ACCEPT_KEYWORDS="x86 ~x86" emerge grub gfxboot



srry cannot remember but gfxboot can be masked.if its like that please unmask the gfxboot package

STEP 6

Installing gentoo theme:

Extract the theme where u want
Code:


tar -xjvpf gentoo.org-Krystal-gfxsplash-theme.tar.bz2 && cd gentoo.org-Krystal && make



Lets go inside boot [not /boot]
Code:

cd boot


Lets mount /boot and copy the theme file

Code:


mount /boot && cp boot/message /boot/message



LAST STEP

Changing grub.conf and rebooting


Change splashimage line with this : [message file]


Code:

gfxmenu (hd0,0)/message


here s my grub.conf
Code:

default 0
timeout 10
#splashimage=(hd0,0)/grub/dilek.xpm.gz
gfxmenu (hd0,0)/message
color white/blue black/light-gray

title  Gentoo 2005.0 Kernel-2.6.11-r10NyN
root (hd0,0)
kernel (hd0,0)/kernel-2.6.11-NyN root=/dev/sda3 splash=silent,theme:livecd-2005.0 quiet CONSOLE=/dev/tty1 video=vesa:ywrap,mtrr vga=0x317 udev
initrd (hd0,0)/fbsplash-livecd-2005.0-1024x768
password **************
title=Memtest86Plus
root (hd0,0)
kernel (hd0,0)/memtest86plus/memtest.bin




This is tested on AMD64 gentoo 2005.0 multilib system...

if i did a mistake [when writing firefox crashed 5 times : ))) ] please correct...


Last edited by Noyan on Mon Jul 04, 2005 3:59 am; edited 1 time in total
Back to top
View user's profile Send private message
genneth
Apprentice
Apprentice


Joined: 24 Mar 2003
Posts: 152
Location: UK

PostPosted: Mon Jul 04, 2005 3:06 am    Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] Reply with quote

Noyan wrote:
Code:

localhost xxx-video # cat /etc/make.conf | grep PORTDIR_OVERLAY=
PORTDIR_OVERLAY="/usr/local/portage"


xxx-video?! BUSTED!

:lol: :lol: :lol:

More on topic -- nice work. Will definitely try this out. Can't have them SuSE people beat us with grub splashes!
_________________
[img]http://www.kordix.com/rpi/?u=genneth[/img]
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Mon Jul 04, 2005 4:04 am    Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] Reply with quote

genneth wrote:
Noyan wrote:
Code:

localhost xxx-video # cat /etc/make.conf | grep PORTDIR_OVERLAY=
PORTDIR_OVERLAY="/usr/local/portage"


xxx-video?! BUSTED!

:lol: :lol: :lol:

More on topic -- nice work. Will definitely try this out. Can't have them SuSE people beat us with grub splashes!



: )))))))))))))) sorry for the screenshot cuz it looks ugly.not a good theme.u ll love gentoo theme..
Back to top
View user's profile Send private message
Headrush
Veteran
Veteran


Joined: 05 Nov 2003
Posts: 5580
Location: Bizarro World

PostPosted: Mon Jul 04, 2005 4:08 am    Post subject: Reply with quote

Although ebuilds are marked ~x86, worked perfectly fine for me adding ~amd64 to ebuilds.
_________________
Mac OS X 10.4.8 (Gentoo in Parallels now)
AMD64 Opteron Dual Core 4400+, 2x1GB DDR400, GeforceFX 7900GS Extra Pipelines Unlocked
300GB SATA Maxtor HD , Sony DRU810A DVD Burner, FlyVideo 3000 TV, SB Live!
Back to top
View user's profile Send private message
jbro
n00b
n00b


Joined: 05 Nov 2003
Posts: 20

PostPosted: Mon Jul 11, 2005 11:55 pm    Post subject: Reply with quote

Great Howto :) - I have got it working perfectally on x86 system, splash looks awsome
Thanks Heaps
Back to top
View user's profile Send private message
genneth
Apprentice
Apprentice


Joined: 24 Mar 2003
Posts: 152
Location: UK

PostPosted: Tue Jul 12, 2005 3:44 am    Post subject: Reply with quote

Noyan, could you post up the actual bugzilla bug numbers?
_________________
[img]http://www.kordix.com/rpi/?u=genneth[/img]
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Tue Jul 12, 2005 4:41 am    Post subject: Reply with quote

http://bugs.gentoo.org/show_bug.cgi?id=85779
http://bugs.gentoo.org/show_bug.cgi?id=79230
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4654
Location: Angra do Heroísmo (PT)

PostPosted: Fri Sep 02, 2005 8:35 pm    Post subject: Reply with quote

FYI, both bugs have been closed in favor of https://bugs.gentoo.org/show_bug.cgi?id=103272
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Hibbelharry
n00b
n00b


Joined: 27 May 2003
Posts: 72
Location: Bremen, Northern Germany

PostPosted: Mon Oct 10, 2005 8:56 pm    Post subject: Reply with quote

where can i get hlp2txt which is needed ? can't find a package for it and googling for it didn't show me useful results...

greetings
Hibbelharry
Back to top
View user's profile Send private message
Jackster83
n00b
n00b


Joined: 17 Aug 2005
Posts: 3

PostPosted: Tue Jan 03, 2006 12:29 am    Post subject: Reply with quote

I know this thread hasn't seen any activity in a looong time, but i wanted to answer Hibbelharry's question in case anybody else was trying to make this work.

Quote:
where can i get hlp2txt which is needed ?


hlp2txt is in the gfxboot package so you have to emerge gfxboot first then make the gentoo theme.
Back to top
View user's profile Send private message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 337

PostPosted: Fri Mar 24, 2006 4:54 am    Post subject: Reply with quote

jmbsvicetto wrote:
FYI, both bugs have been closed in favor of https://bugs.gentoo.org/show_bug.cgi?id=103272


I realize that this is a mostly dead thread, but I just thought I'd say that the ebuilds and directions in this bug worked perfectly for me! Thanks!

Any chance this makes it into portage?
Back to top
View user's profile Send private message
vitae
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2004
Posts: 123
Location: Germany

PostPosted: Fri May 26, 2006 3:31 am    Post subject: Reply with quote

i also tried it, works like a charm :)

on suse`s ftp i found newer patches and versions, but the maintainer doesn`t look like to want to work on it anymore :(
Back to top
View user's profile Send private message
kernelOfTruth
Veteran
Veteran


Joined: 20 Dec 2005
Posts: 2657
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Sep 19, 2006 5:05 am    Post subject: Reply with quote

Good one, Thanks ! Works fine here on pentium-m

"i'm loving it" (TM) :D
_________________
Unofficial minimal 2008.0 for x86/amd64 w/reiser4+truecrypt ,
gcc hardened/hardened toolchain thread
gcc version 4.3.1 (Gentoo Hardened 4.3.1-r3 p1.0, ssp-builtin, pie-7)
Back to top
View user's profile Send private message
geniux
Veteran
Veteran


Joined: 19 Feb 2004
Posts: 1400
Location: /home

PostPosted: Tue Sep 19, 2006 10:21 am    Post subject: Reply with quote

When I'm trying to create the digests I get this:
Code:

Appending /usr/local to PORTDIR_OVERLAY...
!!! /usr/local does not seem to have a valid PORTDIR structure.

Strange, cause my other ebuilds can be digested without this :?
_________________
AMD Athlon64 X2 4200+ AM2
MSI K9N SLI Platinum, Enermax Liberty 500W
1GB RAM Crucial DDR2 667MHz, MSI nVidia 7600GS 256MB
400GB + 250GB Samsung SATAII HDD
Gentoo - BeyondSources 2.6.19-20
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Wed Sep 20, 2006 6:50 pm    Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] Reply with quote

is there an ebuild for grub >= 0.97 (especially rc3) ?
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
c2p
Apprentice
Apprentice


Joined: 26 Mar 2005
Posts: 239
Location: Suwalki [,Poland]

PostPosted: Sat Sep 23, 2006 3:23 am    Post subject: Reply with quote

There is ebuild for 0.97 -> https://bugs.gentoo.org/show_bug.cgi?id=103272.
_________________
Linux registered user : #389150, Kontakt
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Sat Sep 23, 2006 5:55 am    Post subject: Reply with quote

silly me, should have checked there before posting :oops:
thanX a lot
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
c2p
Apprentice
Apprentice


Joined: 26 Mar 2005
Posts: 239
Location: Suwalki [,Poland]

PostPosted: Sat Sep 23, 2006 6:40 am    Post subject: Reply with quote

New Grub is very nice :).
psycepa: No problem/Nie ma problemu ;).
_________________
Linux registered user : #389150, Kontakt
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Sun Sep 24, 2006 10:11 am    Post subject: Reply with quote

yes it is, just to show my quickwork :) don't be to strict :) that was my first time :P
http://img216.imageshack.us/img216/6769/gfxmenueq8.jpg

actually this is default theme slightly 'hacked' :wink:
as i will have more time i think that i will make some more advanced 'themes' :)
greetingz
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
MyD
n00b
n00b


Joined: 25 Sep 2006
Posts: 4

PostPosted: Mon Sep 25, 2006 8:33 pm    Post subject: Reply with quote

@ psycepa
this were a great idea!
_________________
MfG MyD
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Mon Sep 25, 2006 9:35 pm    Post subject: Reply with quote

thanx :) nice to see that someone liked that :)

I thought that I will explain shortly how to change default theme.

On bugzie there is a short guide how to make whole gfxmenu work.
One point says about downloading gnetoo-krystal theme, unpacking, running make and copying boot/message into /boot/grub dir and slightly changing entries in grub.conf.
And there are few things...
first, in this theme package there is a gimp xcf file, AFAIR back.xfc.
It is a file where all layers and stuff is preserved, so the simplest way to 'hack' theme is to edit this file with gimp, change somehow background or other gfx elements, export this picture to back.jpg, place back.jpg into gentoo-krystal temp dir and run make, then copy boot/message into /boot/grub dir, change grub.conf and voila... naaah, not so fast :)
back.jpg cannot be too large, the first time I have tried, the size was about 60kB, and grub was resetting my machine all the time.
I had to make smaller image (~30kB), place it in gentoo-krystal temp dir, boot from livecd, chroot, run make bla bla bla, then it worked.

Another thing is that in that bugzie thread there is a small mistake:
Code:

8. copy boot/message to /boot/grub/gentoo-krystal.gfxmenu
9. add something like `gfxmenu (hd0,0)/grub/gentoo-krystal.gfxboot` into your
grub.conf

the thing is that those those files in 8 and 9 point should have the same name, either (both files) gfxboot or gfxmenu, but _the_same_ !
and, dependin on your partition scheme you should modify the (hd0,0).... line
in my case it looks like:
Code:

gfxmenu /boot/grub/przyczepa.gfsmenu

since i have boot dir on / (simply, I don't have a separate parition for /boot)

and that would be all

so summarizing
--------------------------
bugzilla url (thx to c2p): https://bugs.gentoo.org/show_bug.cgi?id=103272
Andrew Kirilenko wrote:

1. download grub and gfxboot ebuilds and put them into your overlay (grub
should go to sys-boot and gfxboot to media-gfx).
2. download patchset and put it into yout distfiles.
3. create digests
4. unmerge old grub and remove all *stage* files from /usr/lib/grub and /boot
5. emerge new grub and install it as usually
6. emerge gfxboot
7. download gentoo-krystal-gfxboot theme, unpack it (for example in /tmp/gfxboot {note: psycepa})

7a. in the directory where you unpacked gentoo-krystal, there is a back.xcf gimp file, open it with f.e. gimp, edit (add your background or sth), export picture as back.jpg and place it in the same directory as back.xcf
7b. remember that back.jpg canot be too large, for example, 30kB will work, 60kB won't (no fear, you can always fix it from livecd :) )
7c. if you can, modify other things (when i learn how to do it i will upgrade this short tip)
Andrew Kirilenko wrote:

(...) and make
8. copy boot/message to /boot/grub/gentoo-krystal.gfxmenu
9. add something like `gfxmenu (hd0,0)/grub/gentoo-krystal.gfxmenu` into your
grub.conf (remember to properly set the path, dependingly on you partition scheme {by psycepa})
10. if you'd like to use wildcards - read grub's info pages and take a look at
my grub.conf below (...)

----------------
So that would be all for now, if you like the tip, give me to know.
Moreover, I'm looking forward to see your gfxmenus :wink:
greetingz
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
Cheba
n00b
n00b


Joined: 10 Jun 2006
Posts: 8

PostPosted: Thu Oct 05, 2006 5:02 pm    Post subject: Reply with quote

I have a problem with theme...

Quote:
( skiped )
Including "keymap.sv.inc"
Including "locale.inc"
Undefined words: bootloader, blend2, usernote, biosmem, getinfo, fade, fadein, bootdrive, findmode, getvideomode, updatedisk
make: *** [bootdir] Error 10

How can I fix that?
Back to top
View user's profile Send private message
May-C
Apprentice
Apprentice


Joined: 06 Sep 2004
Posts: 173
Location: Schweiz

PostPosted: Mon Oct 09, 2006 2:35 am    Post subject: Reply with quote

I made a new theme. Hope you like it...
If anybody is interested:
http://www.kde-look.org/content/show.php?content=46946
Back to top
View user's profile Send private message
Rion
Apprentice
Apprentice


Joined: 11 Oct 2006
Posts: 245
Location: Ekaterinburg, Russia

PostPosted: Sun Jan 07, 2007 11:36 am    Post subject: Reply with quote

Hi!
if somebody is still interested in this project, i just updated ebuilds and patchset in bugzilla.

if you know how to force grub to understand bigsize (>~170kb) themes please post here


i don't going to support this project, but you can :wink:
_________________
Gentoo AMD64
sorry for my poor english
Back to top
View user's profile Send private message
kernelOfTruth
Veteran
Veteran


Joined: 20 Dec 2005
Posts: 2657
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Jan 22, 2007 5:13 am    Post subject: Reply with quote

Rion wrote:
Hi!
if somebody is still interested in this project, i just updated ebuilds and patchset in bugzilla.


of course there's interest :D

we need to have something against suse's graphical boot :wink:

Thanks a lot :D

btw. the source for gfxboot doesn't exist:

Quote:
No digest file available and download failed.

!!! Couldn't download 'gfxboot-3.3.18-10.src.rpm'. Aborting.
!!! File gfxboot-3.3.18-10.src.rpm doesn't exist, can't update Manifest


for those who nevertheless want to install
the latest I could find was gfxboot-3.3.18-3.src.rpm, so you may want to change it to that
_________________
Unofficial minimal 2008.0 for x86/amd64 w/reiser4+truecrypt ,
gcc hardened/hardened toolchain thread
gcc version 4.3.1 (Gentoo Hardened 4.3.1-r3 p1.0, ssp-builtin, pie-7)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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