Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6132 - Grub code listing possibly incorrect?
Summary: Grub code listing possibly incorrect?
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: Lowest minor (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-07 02:02 UTC by Jan Hurst
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Hurst 2002-08-07 02:02:08 UTC
Code listing 43 in the Installation guide mentions the following:

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

If (hd0,0) is indeed a /boot partition then the "/boot" in the above line is
incorrect. It should read:

splashimage=(hd0,0)/grub/splash.xpm.gz

At least this was what was needed on my system for Grub to look in the right
place for the default splash screen.
Comment 1 SpanKY gentoo-dev 2002-08-07 07:30:49 UTC
it really shouldnt matter since in /boot there is a symlink to itself

root@home root # ls -al /boot
total 12
drwxr-xr-x    3 root     root         4096 Jun  4 09:00 .
drwxr-xr-x   17 root     root         4096 Jul 24 00:43 ..
lrwxrwxrwx    1 root     root            1 Jun  4 09:00 boot -> .
drwxr-xr-x    2 root     root         4096 Jun  4 09:00 grub

thus /boot/grub/ should work ... of course, this assumes grub can read 
links ... while this sounds like it *should* happen, ive noticed my splash 
screen also does not appear under the same circumstances as the bug reporter
Comment 2 Antti Sykäri 2002-08-14 16:05:51 UTC
I didn't have a symlink "boot" inside my /mnt/gentoo/boot partition.
(Because I installed it over an existing debian system, that's why.
I don't have a CD-ROM.)

Because of that, I was unable to boot my system although I *carefully followed
the directions in the x86 installation guide*.

This bug, in my opinion, can be fixed in two ways.
I would prefer the first one, since I think that the extra /boot/ in GRUB's
config file is misleading and confusing. It should be gotten rid of. So:

Alternative 1:
- BOTH references to /boot/ in the installation file should be changed to refer
  to / - yes there are two of them:

Change line in code listing 43 from:
  splashimage=(hd0,0)/boot/grub/splash.xpm.gz
to:
  splashimage=(hd0,0)/grub/splash.xpm.gz

Change line in code listing 43 from:
  kernel /boot/bzImage root=/dev/hda3
to:
  kernel /bzImage root=/dev/hda3

Alternative 2:
If it is decided that the boot partition must have a symbolic link "boot" which
points to ".", then put clear instructions to make it in the installation guide.
Or at least point out that it should exist.
Also, you should specify _why_ it should exist.
Comment 3 SpanKY gentoo-dev 2002-08-14 17:05:40 UTC
(1) the symlink should have been installed by stage1 (or maybe baselayout ...)
(1a) i installed via existing slackware installs, off of the cd, off of 
chroots, and some other random ways, and my symlink always existed
(2) /boot/grub/ makes sense for when people dont use a sep boot partition
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-10 17:48:05 UTC
This does not seem to be an issue anymore, so I am changing it to closed.

//ZhEN