Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub not displaying splash image
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
abhishek
Retired Dev
Retired Dev


Joined: 28 Jun 2002
Posts: 393
Location: Los Angeles, CA

PostPosted: Mon Jul 15, 2002 11:57 pm    Post subject: Reply with quote

Sesquipedalian wrote:
do you have the recursive link to /boot ?

if not, mount /boot, cd to /boot and create it:

Code:
ln -s . boot

Thanks i think this fixed my problem. When i was installing i reformatted /boot after i had extracted the tarball and i didnt want to do that again so i emerged grub but didnt do this, so i had been using (hd0,1)/bzImage.
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Tue Jul 16, 2002 12:01 pm    Post subject: Reply with quote

It didn't solve mine...
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Mon Jul 22, 2002 6:50 am    Post subject: Reply with quote

bump
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Tiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 77

PostPosted: Mon Jul 22, 2002 1:33 pm    Post subject: Reply with quote

Like kaplan I left a space between (hd0,0) and /boot. No splash image.
Take the space out and it works.
My Gentoo build is from a stage1 tarball. My grub --version reports GNU Grub 0.90.
_________________
Windows = a 32 bit extension to a 16 bit GUI on an 8 bit OS written for a 4 bit architecture by a 2 bit company who can't stand 1 bit of competition.
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Mon Jul 22, 2002 1:49 pm    Post subject: Reply with quote

Same version here, and there is no space there... my exact menu.lst file is:
Code:

timeout 10
default 0
splashimage=(hd0,0)/boot/splash.xpm

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Tiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 77

PostPosted: Mon Jul 22, 2002 2:25 pm    Post subject: Reply with quote

Add a .gz to the end of the filename.
Other than that I can't see why it isn't working.
Your menu.lst is almost the same as mine with the exception of my drive configuration and dual boot stanza.
_________________
Windows = a 32 bit extension to a 16 bit GUI on an 8 bit OS written for a 4 bit architecture by a 2 bit company who can't stand 1 bit of competition.
Back to top
View user's profile Send private message
wickidpisa
n00b
n00b


Joined: 21 Jul 2002
Posts: 27

PostPosted: Mon Jul 22, 2002 2:35 pm    Post subject: Reply with quote

I don't think you should have gunzip'ed the image. I'm pretty sure grub expects a gzip'ed file. I only guess this from instructions from other websites that say to gzip the file if you want to replace the splash image, so I would assume that you have to have it gzip'ed.
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Mon Jul 22, 2002 2:54 pm    Post subject: Reply with quote

Also, it normally goes in /boot/grub, rather than /boot as you have it, though I guess you can stick it where you like as long as the path specified in menu.lst matches. It's just one more thing to check.
_________________
Ebichu wa chiizu ga daisuki dechu!
Back to top
View user's profile Send private message
Tiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 77

PostPosted: Mon Jul 22, 2002 3:10 pm    Post subject: Reply with quote

Yep,
The line should read splashimage=(hd0,0)/boot/grub/splash.xpm.gz
_________________
Windows = a 32 bit extension to a 16 bit GUI on an 8 bit OS written for a 4 bit architecture by a 2 bit company who can't stand 1 bit of competition.
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Mon Jul 22, 2002 3:28 pm    Post subject: Reply with quote

The oddities you guys have mentioned were because of my experiements to get it working... the current situation has been reverted to what should work.

menu.lst:
Code:

timeout 10
default 0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3


/dev/hda1 is the boot partition. It has a recursive symlink (boot -> ./), and the grub directory contains splash.xpm.gz. I've tested it and it's viewable when gunzipped.

Just to be extra-clear: It still doesn't work. No splash screen, just white on black text.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Mon Jul 22, 2002 6:00 pm    Post subject: Reply with quote

tactless wrote:
strings /boot/grub/stage2 | grep vga16 returns nothing
How do I merge the patch?

I've only just noticed that reply from a week ago as I skipped to the last page! So your GRUB has no vga16 patches? How did that happen? Does strings /usr/share/grub/i386-pc/stage2 | grep vga16 show anything? (This is assuming you have emerged grub on an i386-pc!)
_________________
Ebichu wa chiizu ga daisuki dechu!
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Mon Jul 22, 2002 6:13 pm    Post subject: Reply with quote

Code:

$ strings /usr/share/grub/i386-pc/stage2 | grep vga16
Changes display type. Available modes are "text" and "vga16".
vga16

Sounds about right... My installation of grub worked like this: Downloaded Gentoo 1.2 x86 Stage1 ISO (used tomsrtbt to install, no cd burner), splash image didn't work. Did emerge grub, it recompiled, splash image still didn't work. How the patch got lost in there, I don't know.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Mon Jul 29, 2002 2:57 pm    Post subject: Reply with quote

Sorry for the late reply.

I think you just need to mount /boot and run something like grub-install /dev/hda1 (to boot GRUB from the boot sector of your boot partition /dev/hda1), or grub-install /dev/hda (to boot GRUB from the master boot record). This depends on what you have in these sectors already, though if you are currently booting all installed OSes via the one copy of GRUB, installing into the master boot record will be okay.
_________________
Ebichu wa chiizu ga daisuki dechu!
Back to top
View user's profile Send private message
Polansky
n00b
n00b


Joined: 25 Jul 2002
Posts: 8
Location: Stuttgart, Germany

PostPosted: Thu Aug 01, 2002 9:16 am    Post subject: Reply with quote

Did you try to "flip" the first two lines of your menu.lst file? I do not know if this will really solve your problem, but this is the only difference between your menu.lst file and the one proposed in the INSTALL DOC
("http://www.gentoo.org/doc/build.html" -- see Code listing 43)

Good luck
Roman
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Thu Aug 01, 2002 11:50 am    Post subject: Reply with quote

One of the two last tips worked... probably the latter, because I already tried reinstalling from within the grub shell. My god, that's a stupid bug...
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Thu Aug 01, 2002 4:43 pm    Post subject: Reply with quote

On my machine, the order of those two lines makes no difference it works either way.

I tried the grub-install command myself (to see if it works as I've never used it before) but it couldn't map the parameters I gave it to BIOS disks. Oh well.
_________________
Ebichu wa chiizu ga daisuki dechu!
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
Goto page Previous  1, 2
Page 2 of 2

 
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