View previous topic :: View next topic |
Author |
Message |
Noyan Apprentice

Joined: 24 Mar 2005 Posts: 212
|
Posted: Sun Jul 03, 2005 8:17 pm Post subject: HOWTO : gfxmenu on patched grub [tested on amd64] |
|
|
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 :
https://bugs.gentoo.org/attachment.cgi?id=58698&action=view
And this is our gentoo theme (good theme thanks )
https://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 :
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]
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 8:59 am; edited 1 time in total |
|
Back to top |
|
 |
genneth Apprentice


Joined: 24 Mar 2003 Posts: 152 Location: UK
|
Posted: Mon Jul 04, 2005 8:06 am Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] |
|
|
Noyan wrote: | Code: |
localhost xxx-video # cat /etc/make.conf | grep PORTDIR_OVERLAY=
PORTDIR_OVERLAY="/usr/local/portage"
|
|
xxx-video?! BUSTED!
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 |
|
 |
Noyan Apprentice

Joined: 24 Mar 2005 Posts: 212
|
Posted: Mon Jul 04, 2005 9:04 am Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] |
|
|
genneth wrote: | Noyan wrote: | Code: |
localhost xxx-video # cat /etc/make.conf | grep PORTDIR_OVERLAY=
PORTDIR_OVERLAY="/usr/local/portage"
|
|
xxx-video?! BUSTED!
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 |
|
 |
Headrush Watchman


Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Mon Jul 04, 2005 9:08 am Post subject: |
|
|
Although ebuilds are marked ~x86, worked perfectly fine for me adding ~amd64 to ebuilds. |
|
Back to top |
|
 |
jbro n00b

Joined: 05 Nov 2003 Posts: 20
|
Posted: Tue Jul 12, 2005 4:55 am Post subject: |
|
|
Great Howto - I have got it working perfectally on x86 system, splash looks awsome
Thanks Heaps |
|
Back to top |
|
 |
genneth Apprentice


Joined: 24 Mar 2003 Posts: 152 Location: UK
|
Posted: Tue Jul 12, 2005 8:44 am Post subject: |
|
|
Noyan, could you post up the actual bugzilla bug numbers? _________________ [img]http://www.kordix.com/rpi/?u=genneth[/img] |
|
Back to top |
|
 |
Noyan Apprentice

Joined: 24 Mar 2005 Posts: 212
|
|
Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
|
Back to top |
|
 |
Hibbelharry Tux's lil' helper


Joined: 27 May 2003 Posts: 88 Location: Bremen, Northern Germany
|
Posted: Tue Oct 11, 2005 1:56 am Post subject: |
|
|
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 |
|
 |
Jackster83 n00b

Joined: 17 Aug 2005 Posts: 8
|
Posted: Tue Jan 03, 2006 5:29 am Post subject: |
|
|
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 |
|
 |
Ricky Guru

Joined: 30 May 2003 Posts: 339
|
Posted: Fri Mar 24, 2006 9:54 am Post subject: |
|
|
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 |
|
 |
vitae Tux's lil' helper

Joined: 26 Mar 2004 Posts: 134 Location: Germany
|
Posted: Fri May 26, 2006 8:31 am Post subject: |
|
|
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 |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
 |
geniux Veteran


Joined: 19 Feb 2004 Posts: 1400 Location: /home
|
Posted: Tue Sep 19, 2006 3:21 pm Post subject: |
|
|
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 |
|
 |
psycepa Veteran


Joined: 27 Dec 2004 Posts: 1637 Location: Poland
|
Posted: Wed Sep 20, 2006 11:50 pm Post subject: Re: HOWTO : gfxmenu on patched grub [tested on amd64] |
|
|
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 |
|
 |
c2p Apprentice


Joined: 26 Mar 2005 Posts: 281 Location: Poland
|
|
Back to top |
|
 |
psycepa Veteran


Joined: 27 Dec 2004 Posts: 1637 Location: Poland
|
Posted: Sat Sep 23, 2006 10:55 am Post subject: |
|
|
silly me, should have checked there before posting
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 |
|
 |
c2p Apprentice


Joined: 26 Mar 2005 Posts: 281 Location: Poland
|
Posted: Sat Sep 23, 2006 11:40 am Post subject: |
|
|
New Grub is very nice .
psycepa: No problem/Nie ma problemu . _________________ LRU #389150, Kontakt |
|
Back to top |
|
 |
psycepa Veteran


Joined: 27 Dec 2004 Posts: 1637 Location: Poland
|
Posted: Sun Sep 24, 2006 3:11 pm Post subject: |
|
|
yes it is, just to show my quickwork don't be to strict that was my first time
http://img216.imageshack.us/img216/6769/gfxmenueq8.jpg
actually this is default theme slightly 'hacked'
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 |
|
 |
MyD n00b


Joined: 25 Sep 2006 Posts: 4
|
Posted: Tue Sep 26, 2006 1:33 am Post subject: |
|
|
@ psycepa
this were a great idea! _________________ MfG MyD |
|
Back to top |
|
 |
psycepa Veteran


Joined: 27 Dec 2004 Posts: 1637 Location: Poland
|
Posted: Tue Sep 26, 2006 2:35 am Post subject: |
|
|
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
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 |
|
 |
Cheba n00b

Joined: 10 Jun 2006 Posts: 16
|
Posted: Thu Oct 05, 2006 10:02 pm Post subject: |
|
|
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 |
|
 |
May-C Apprentice


Joined: 06 Sep 2004 Posts: 173 Location: Schweiz
|
|
Back to top |
|
 |
Rion Guru


Joined: 12 Oct 2006 Posts: 377 Location: Ekaterinburg, Russia
|
Posted: Sun Jan 07, 2007 4:36 pm Post subject: |
|
|
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  _________________ ~amd64
rion-overlay |
|
Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Mon Jan 22, 2007 10:13 am Post subject: |
|
|
Rion wrote: | Hi!
if somebody is still interested in this project, i just updated ebuilds and patchset in bugzilla.
|
of course there's interest
we need to have something against suse's graphical boot
Thanks a lot
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 _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004  |
|
Back to top |
|
 |
|