Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125215 - Installation note - wrong scope of stage while zcat´ing
Summary: Installation note - wrong scope of stage while zcat´ing
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL: http://www.villewitt.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 03:47 UTC by Ville Witt
Modified: 2006-03-06 03:59 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 Ville Witt 2006-03-06 03:47:31 UTC
The installation documentation states:
####################################################################
"Code Listing 17: Copying over the Installation CD kernel config
 
(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
####################################################################
 
(Im a noob in Gentoo, so this might not be correct, but it helped me get a step further in my installation process):
####################################################################
This is to be entered in a non-chroot()
Comment 1 Ville Witt 2006-03-06 03:47:31 UTC
The installation documentation states:
####################################################################
"Code Listing 17: Copying over the Installation CD kernel config
 
(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
####################################################################
 
(Im a noob in Gentoo, so this might not be correct, but it helped me get a step further in my installation process):
####################################################################
This is to be entered in a non-chroot()´ed console. It needs to get data from outside the chroot()´ed scope.

(...and I beleave it should be:)
# zcat /proc/config.gz > /mnt/gentoo/usr/share/genkernel/x86/kernel-config-2.6

####################################################################

Plz mail back and tell wheter im rong or not. Thx for a greate documentaion btw.
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2006-03-06 03:54:49 UTC
At that point, you have already chrooted and /mnt/gentoo... is no longer available. /usr/share... is the right path
If /proc/config.gz was not available, I guess you forgot to mount proc on /mnt/gentoo/proc before chrooting.
I have just tested in a chrooted environment (I'm busy doing installs) and it works.
Marking as invalid, please reopen in required.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 03:59:44 UTC
See Code Listing 4: Mounting /proc and /dev in

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6#doc_chap1