Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
From LILO to GRUB
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
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Feb 11, 2004 1:31 pm    Post subject: From LILO to GRUB Reply with quote

Hi all,

I've just changed from Lilo to grub and I'm very satisfied, however, I do not see any splash image in grub. :( And I think I should. I only see a white table on a black background, nothing fancy. I have the following grub.conf:
Quote:
# Boot automatically after 30 secs.
timeout 30

#Splash
splashimage=(hd0,1)/grub/grub.xpm.gz

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux 2.6.x
title Gentoo GNU/Linux
root (hd0,1)
kernel (hd0,1)/kernel-2.6.3-rc1-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda4 vga=0x317 splash=verbose
initrd (hd0,1)/initrd-2.6.3-rc1-gentoo

# For booting GNU/Linux 2.4.x
title OldGentoo
root (hd0,1)
kernel (hd0,1)/kernel-2.4.22-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hda4 vga=0x317 splash=verbose
initrd (hd0,1)/initrd-2.4.22-gentoo-r1

# For booting Windows NT or Windows95
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)

# Change the colors.
title Change the colors
color light-green/brown blink-red/blue


Any ideas?

Best regards,
_________________
Paulo Matos
Back to top
View user's profile Send private message
valuial
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2004
Posts: 85

PostPosted: Wed Feb 11, 2004 1:44 pm    Post subject: Re: From LILO to GRUB Reply with quote

pmatos wrote:

#Splash
splashimage=(hd0,1)/grub/grub.xpm.gz

[..]

# For installing GRUB into the hard disk
title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)


You install the grub files to hd(0,0), but want to load the splash from hd(0,1).

As hd(0,0) seems to be youre windows partition try installing grub with root (hd0,1) (youre /boot partition I assume)

hope that does the trick...
Valuial
Back to top
View user's profile Send private message
RaaR
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 125

PostPosted: Wed Feb 11, 2004 1:54 pm    Post subject: Reply with quote

This may be a longshot but there's no harm in checking: all the computers I have here have grub's splash in /boot/grub/splash.xpm.gz. I see your conf is pointing to /boot/grub/grub.xpm.gz.

Sometimes it's these small things that break stuff. :)
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Feb 11, 2004 2:43 pm    Post subject: Reply with quote

RaaR wrote:
This may be a longshot but there's no harm in checking: all the computers I have here have grub's splash in /boot/grub/splash.xpm.gz. I see your conf is pointing to /boot/grub/grub.xpm.gz.


Sometimes it's these small things that break stuff. :)


Indeed, you're right, however, still get no splash screen... only the b&w menu. My current grub.conf is:
Quote:
# Boot automatically after 30 secs.
timeout 30

#Splash
splashimage=(hd0,1)/grub/splash.xpm.gz

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

# For booting GNU/Linux 2.6.x
title Gentoo GNU/Linux
root (hd0,1)
kernel (hd0,1)/kernel-2.6.3-rc1-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda4 vga=0x317 splash=verbose
initrd (hd0,1)/initrd-2.6.3-rc1-gentoo

# For booting GNU/Linux 2.4.x
title OldGentoo
root (hd0,1)
kernel (hd0,1)/kernel-2.4.22-gentoo-r1 root=/dev/ram0 init=/linuxrc real_root=/dev/hda4 vga=0x317 splash=verbose
initrd (hd0,1)/initrd-2.4.22-gentoo-r1

# For booting Windows NT or Windows95
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
# For loading DOS if Windows NT is installed
# chainload /bootsect.dos


My (hd0,0) is windows partition, (hd0,1) is boot partition, (hd0,2) is swap and (hd0,3) is root. Splash image in is /boot/grub/splash.xpm.gz.

Any ideas? Do I need to specify which type of menu I want, somewhere?

Best regards,
_________________
Paulo Matos
Back to top
View user's profile Send private message
RaaR
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 125

PostPosted: Thu Feb 12, 2004 1:46 am    Post subject: Reply with quote

Was the splash file already there when you installed grub? Try running grub again and check that when you perform
Code:
grub> root (hd0,1)

Code:
grub> setup (hd0)

a line saying the splash file was found appears (I don't remember which of the two commands gives the output about finding files).
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Thu Feb 12, 2004 2:12 pm    Post subject: Reply with quote

RaaR wrote:
Was the splash file already there when you installed grub?


Yes, I think it came with gentoo.

RaaR wrote:
Try running grub again and check that when you perform
Code:
grub> root (hd0,1)

Code:
grub> setup (hd0)

a line saying the splash file was found appears (I don't remember which of the two commands gives the output about finding files).


I get:
Quote:
grub> root (hd0,1)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 22 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+22 p (hd0,1)/grub/stage2 /grub/menu
.lst"... succeeded
Done.


Doesn't mention splash image.

Any ideas?

Best regards,
_________________
Paulo Matos
Back to top
View user's profile Send private message
RaaR
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jul 2003
Posts: 125

PostPosted: Thu Feb 12, 2004 2:56 pm    Post subject: Reply with quote

I checked and the line about the splash really isn't supposed to appear. However, my last line reads a bit different.

You have that ".../grub/stage2 /grub/menu.lst"... succeeded" whereas I have ".../grub/stage2 /grub/grub.conf"... succeeded"

I don't have a menu.lst, perhaps because seeing no need for it I deleted it (can't remember). If yours is a link to grub.conf or something like that, there shouldn't be a problem, if on the other hand it isn't, your output may be telling us that the changes you've made to grub.conf aren't even being read.

Another thing I read somewhere is that it's nice to have a link from boot->./. That would make that first check that came back with a no, turn into a yes.

Code:
cd /boot
ln -s . boot


Not really mandatory, but as I said, I read it's a good thing to have.
Back to top
View user's profile Send private message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Thu Feb 12, 2004 4:37 pm    Post subject: Reply with quote

I've got the same problem, although I had a splash image earlier. Then suddenly it disappeared. Don't know if I upgraded grub or something. :?
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Thu Feb 12, 2004 5:01 pm    Post subject: Reply with quote

how're your partitions setup?
_________________
while(true) {self.input(sugar);} :twisted:
Back to top
View user's profile Send private message
Figaro
n00b
n00b


Joined: 26 Apr 2002
Posts: 57
Location: earth.us.tx.austin

PostPosted: Thu Feb 12, 2004 7:32 pm    Post subject: Check the changelog Reply with quote

Check the Changelog for GRUB.

I'm pretty sure they just made a major jump in versions and the ebuild currently doesn't include the splashimage patch.

It'll be added back in soon...
Back to top
View user's profile Send private message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Feb 18, 2004 8:02 pm    Post subject: Reply with quote

christsong84 wrote:
how're your partitions setup?

hda0 = windows
hda1 = boot
hda2 = swap
hda3 = root
_________________
Paulo Matos
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