Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125215

Summary: Installation note - wrong scope of stage while zcat´ing
Product: [OLD] Docs on www.gentoo.org Reporter: Ville Witt <ville.witt>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.villewitt.net
Whiteboard:
Package list:
Runtime testing required: ---

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