Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93785 - the "Copying over the Installation CD kernel config" step doesn't
Summary: the "Copying over the Installation CD kernel config" step doesn't
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Alternative Installation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 03:15 UTC by Presuming Ed
Modified: 2005-05-24 12:41 UTC (History)
0 users

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 Presuming Ed 2005-05-24 03:15:54 UTC
The handbook says that to copy over the Installation CD kernel config, I can do
this:

(Only do this if you are going to configure a 2.6 kernel)
# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6

However, since I am installing Gentoo from an existing Mandriva 2005
installation, that command will be copying the Mandriva kernel's config, not the
installation CD's kernel's config.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2005-05-24 03:19:50 UTC
Handbook talks about official Gentoo Installation CDs, not third-party media. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 03:20:48 UTC
As stated in comment #1, the document that you linked assumes
(http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2) that you
are installing from Gentoo installation CD, so I can
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 03:20:48 UTC
As stated in comment #1, the document that you linked assumes
(http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2) that you
are installing from Gentoo installation CD, so I can´t see why this should be a
bug. 
Comment 4 Presuming Ed 2005-05-24 03:39:09 UTC
I am installing from official media.  I am just not booting from that media.

http://www.gentoo.org/doc/en/altinstall.xml describes how it is possible to
install Gentoo from an existing Linux distribution (see 6. Installing Gentoo
from an existing Linux distribution).

The end of that page says "Once you have resized, boot back into your old linux
as described. Then go to The Gentoo Handbook: Preparing the Disks and follow the
instructions." and links back to
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4.
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2005-05-24 03:47:19 UTC
(In reply to comment #3)    
> I am installing from official media.  I am just not booting from that media.    
    
For the purpose of my sentence,  "installation media" is the thing which will   
provide you the rootfs.   
    
> The end of that page says "Once you have resized, boot back into your old    
linux    
> as described. Then go to The Gentoo Handbook: Preparing the Disks and follow    
the    
> instructions." and links back to    
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4.    
  
So the bug is in altinstall.xml, not in the Handbook, please change it. 
altinstall should note that the installation process might be affected by 
media limitations.  
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 03:52:20 UTC
@Comment #3: No, you are not installing from Gentoo media, you are installing
from Mandriva chroot, so it seems pretty obvious to everyone that the handbook
section you are talking about is then irrelevant. Also its heading states
"Copying over the Installation CD kernel config" pretty much suggests that it
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 03:52:20 UTC
@Comment #3: No, you are not installing from Gentoo media, you are installing
from Mandriva chroot, so it seems pretty obvious to everyone that the handbook
section you are talking about is then irrelevant. Also its heading states
"Copying over the Installation CD kernel config" pretty much suggests that it´s
irrelevant in your case - since you are not running installation CD kernel. 

So - I am missing what fix to the handbook are you suggesting...

@Comment #4: No, there is no real bug in altinstall.xml, it just assumes
employing common sense when you are installing Gentoo using an alternative
install method. 
Comment 8 Jan Kundrát (RETIRED) gentoo-dev 2005-05-24 03:59:25 UTC
(In reply to comment #5)  
> @Comment #4: No, there is no real bug in altinstall.xml, it just assumes  
> employing common sense when you are installing Gentoo using an alternative  
> install method.   
  
Well, I think it's not a big problem to add one single <note> stating that you 
can expect some things work differently while installing from another media. 
 
I'll suggest marking this a dupe of bug 93780 as they are very similar. I'd 
think that this one deserves INVALID, though, in contrast to 93780 which 
should be fixed by the addition of the small <note>. :-) 
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 04:17:04 UTC
Well, this bug is really INVALID. Noone can reasonably suppose that he/she will
be able to zcat actual config of Gentoo kernel from /proc if he/she is running
install under Mandriva or whatever other Linux distribution... 
Comment 10 Presuming Ed 2005-05-24 04:40:17 UTC
> Well, this bug is really INVALID. Noone can reasonably suppose that he/she
> will be able to zcat actual config of Gentoo kernel from /proc if he/she is
> running install under Mandriva or whatever other Linux distribution... 

And yet the handbook tells me that I can.  *That* is the bug!  Is it OK to copy
the kernel config I use in Mandriva and use the same when compiling the gentoo
kernel?  I don't know - but the handbook should make it clear where I should
copy the kernel config from in the event that I'm currently running a different
distribution.

If you really don't support installing gentoo while running a different
distribution, the handbook shouldn't claim that you do.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 04:58:28 UTC
That handbook is referenced in alternative install guide because it is 99% valid
for alternative install as well and writing another full handbook would be just
a terrible waste of time and resources. 

And as such it should not - IMNSHO - be cluttered by irrelevant remarks like
that copying .config from Mandriva
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2005-05-24 04:58:28 UTC
That handbook is referenced in alternative install guide because it is 99% valid
for alternative install as well and writing another full handbook would be just
a terrible waste of time and resources. 

And as such it should not - IMNSHO - be cluttered by irrelevant remarks like
that copying .config from Mandriva´s kernel won´t be the best idea in the
universe. If there is an omission somewhere, then it is not in Gentoo handbook,
but in Gentoo Alternative Installation Guide... 

Changing the component accordingly. Please put some note there and close this
"bug"... 
Comment 13 SpanKY gentoo-dev 2005-05-24 06:13:01 UTC
what does it matter if you're taking the config from a Mandriva kernel ?

it will list feature that work since you managed to boot the kernel
Comment 14 Presuming Ed 2005-05-24 12:41:52 UTC
That's what I was thinking.  I've spent a few months getting the kernel config
set up just right on this box for Mandrake, so maybe it would be OK to copy them
when recompiling for gentoo.  Then again, maybe it wouldn't, due to some special
needs of the gentoo system.  That's something that I (as a gentoo newbie) can't
be expected to know, and something which I don't think would be out of place in
an installation handbook.

For some reason the handbook assumes that I've booted from the install CD rather
than into an environment which I know works on my hardware.

In the end I wasn't able to create a kernel that did anything other than panic
as soon as I attempted to boot into it, whether I used my old Mandrake config or
the config from the kernel on the installation CD, so I gave up.  Thanks anyway
- maybe I'll try gentoo again in a year or two and see if things are any
clearer.  :)