Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108493 - grub.conf examples should include /boot/ for kernel and initrd
Summary: grub.conf examples should include /boot/ for kernel and initrd
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 06:59 UTC by roger55 (RETIRED)
Modified: 2005-11-21 10:31 UTC (History)
1 user (show)

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


Attachments
boot-path.patch (boot-path.patch,2.76 KB, patch)
2005-10-08 07:56 UTC, Jan Kundrát (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description roger55 (RETIRED) gentoo-dev 2005-10-08 06:59:21 UTC
grub.conf examples should include /boot/ for kernel and initrd  
  
reasoning:  
the current examples don't work if you have no separate /boot partition.  
with /boot/ included like:  
kernel /boot/kernel-xy root=/dev/hda3 it will work for everyone, boot 
partition or not. 
 
It was like this before, not sure why this was changed. 
 
Roger 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2005-10-08 07:28:54 UTC
It's clearly stated that if you use different partitioning layout, you'll have 
to change the configuration. It's even in the same chapter: 
 
"Below you'll find two possible grub.conf for the partitioning example we use 
in this guide." 
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2005-10-08 07:37:15 UTC
Okay, you've convinced us :-) 
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2005-10-08 07:55:54 UTC
What about this patch? 
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2005-10-08 07:56:40 UTC
Created attachment 70158 [details, diff]
boot-path.patch

Bah, forgot to add the patch :-)
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2005-10-21 13:40:20 UTC
There is a nice note about this already in the handbook. It makes clear that, if
you do not use the partitioning scheme we use in the handbook, you need to
change the grub.conf accordingly. It mentions that all paths are relative to the
partition, etc.

I'd vote for a WORKSFORME
Comment 6 roger55 (RETIRED) gentoo-dev 2005-10-29 15:55:45 UTC
Since we have that /boot/boot/boot/boot symlink in place a  
kernel /boot/kernelimage will work for everyone.  
  
A little userfriendlyness here and there with no harm done can't hurt.  
  
Roger, hoping for a resolved FIXED ;) 
Comment 7 Xavier Neys (RETIRED) gentoo-dev 2005-11-17 09:24:22 UTC
(In reply to comment #5)
> There is a nice note about this already in the handbook. It makes clear that, if
> you do not use the partitioning scheme we use in the handbook, you need to
> change the grub.conf accordingly. It mentions that all paths are relative to the
> partition, etc.

Unfortunately, that does not strike the right brain cells :)
Adding /boot will work for everyone. We just need to phrase the text so that
those who understood are not confused by the apparent contradiction.

> I'd vote for a WORKSFORME
I vote for IGOTTODOITMESELF :)
Comment 8 Jan Kundrát (RETIRED) gentoo-dev 2005-11-17 14:42:35 UTC
(In reply to comment #7) 
> > I'd vote for a WORKSFORME 
> I vote for IGOTTODOITMESELF :) 
 
...and also HAVELOOKATMYPATCH :-) 
 
 
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2005-11-21 10:31:37 UTC
Fixed.
Let's hope it's not become even more confusing than it is to those who only know
A:/ and C:/ :-)