Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel instructions are wrong - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2366
Location: Kentucky

PostPosted: Sun Jun 21, 2009 3:59 am    Post subject: genkernel instructions are wrong - SOLVED Reply with quote

The x86 Installation Handbook, under the section on genkernel, says:
Quote:
Now, let's see how to use genkernel. First, emerge the genkernel ebuild:

# emerge genkernel

Next, copy over the kernel configuration used by the Installation CD to the location where genkernel looks for the default kernel configuration:

# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
but when I do this, I get:
Code:
/usr/share/genkernel/x86/kernel-config-2.6: No such file or directory
So I looked to see what was missing, and I saw:
Code:
(chroot) livecd / # ls /usr/share/genkernel
BUGS     defaults           gen_cmdline.sh       gen_determineargs.sh  gen_moddeps.sh  netboot
HACKING  gen_arch.sh        gen_compile.sh       gen_funcs.sh          gen_package.sh  patches
arch     gen_bootloader.sh  gen_configkernel.sh  gen_initramfs.sh      modules
So it appears to me that something has changed since these genkernel instructions were written in the Installation Handbook, as there is no x86 directory here. :evil:

Can somebody give me the correct instructions? :?:

And has the documentation bug been reported before, so it can be fixed? :?:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sun Jun 21, 2009 5:27 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Jun 21, 2009 4:59 am    Post subject: Reply with quote

Try this
Code:
zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config-2.6
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun Jun 21, 2009 5:01 am    Post subject: Reply with quote

It should be

Code:
# zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config-2.6
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2366
Location: Kentucky

PostPosted: Sun Jun 21, 2009 5:27 am    Post subject: Reply with quote

Yes, that does make more sense"
Code:
(chroot) livecd / # ls /usr/share/genkernel/arch/
alpha  arm  ia64  mips  parisc  parisc64  ppc  ppc64  sparc  sparc64  um  x86  x86_64
The Handbook is missing the "arch". :?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum