Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem when attempting to copy over kernel config [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
marstonis
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2006
Posts: 84
Location: Coventry, UK

PostPosted: Sat May 12, 2007 3:35 pm    Post subject: Problem when attempting to copy over kernel config [SOLVED] Reply with quote

OK, hopefully is just a small problem, but after emerging genkernel and going along with the:

Code:
# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6


I am getting:
Code:
zcat: /proc/config.gz: No such file or directory


I am installing from within Knoppix, so quite possibly, it is looking for the file from the Gentoo CD, though only having a single DVD drive, getting access to it is not possible.

My question is: Can I either locate said file online and copy over, else is there another way round this?

In anticipation,

Martin.
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s:- a C++ UL++++ P+ L+++ E-- W++ N o+ K++ w---
O- M- V- PS+ PE-- Y PGP+ t+ 5- X-- R+++ tv- b+ DI-- D
G e h-- r- y--
------END GEEK CODE BLOCK------


Last edited by marstonis on Sat May 12, 2007 4:27 pm; edited 2 times in total
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat May 12, 2007 3:42 pm    Post subject: Reply with quote

if you are installing from within a knoppix CD then if /proc/config.gz DID exist it would of been the config for the kernel of the knoppix CD.
What you need is the .config file for the most recent gentoo liveCD, where to get??? bound to be online somewhere

HOWEVER... with Gentoo LiveCD 2007.0 just released why are you using a knoppix disk?
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
marstonis
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2006
Posts: 84
Location: Coventry, UK

PostPosted: Sat May 12, 2007 3:48 pm    Post subject: Reply with quote

Naib wrote:
HOWEVER... with Gentoo LiveCD 2007.0 just released why are you using a knoppix disk?


Stuck on dialup, only have minimal Gentoo CD and regardless which I had, getting online with Gentoo during installation process is just a no-go, sadly.

So, next question, would anybody be so kind as to supply me with the config file?
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s:- a C++ UL++++ P+ L+++ E-- W++ N o+ K++ w---
O- M- V- PS+ PE-- Y PGP+ t+ 5- X-- R+++ tv- b+ DI-- D
G e h-- r- y--
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat May 12, 2007 3:57 pm    Post subject: Reply with quote

Naib wrote:

What you need is the .config file for the most recent gentoo liveCD, where to get???

Why the heck would someone need .config file from recent Gentoo liveCD??? How is it better than one can generate using make menuconfig??? Isn't Gentoo about customizing? Why not to use the .config file tailored for your needs and hardware!?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
marstonis
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2006
Posts: 84
Location: Coventry, UK

PostPosted: Sat May 12, 2007 4:01 pm    Post subject: Reply with quote

Jaglover wrote:
Naib wrote:

What you need is the .config file for the most recent gentoo liveCD, where to get???

Why the heck would someone need .config file from recent Gentoo liveCD??? How is it better than one can generate using make menuconfig??? Isn't Gentoo about customizing? Why not to use the .config file tailored for your needs and hardware!?


Time constraints maybe? That and the fact I am using Genkernel on this build.

That aside, actually having a constructive reply rather than why the heck do this would be very much appreciated.
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s:- a C++ UL++++ P+ L+++ E-- W++ N o+ K++ w---
O- M- V- PS+ PE-- Y PGP+ t+ 5- X-- R+++ tv- b+ DI-- D
G e h-- r- y--
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat May 12, 2007 4:07 pm    Post subject: Reply with quote

What kernel are you planning to compile?
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat May 12, 2007 4:07 pm    Post subject: Reply with quote

Kernel is the most important part of Linux operating system. You do not have time for it?

The best and most constructive way to deal with it is to start with make allnoconfig and go from there.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat May 12, 2007 4:11 pm    Post subject: Reply with quote

I'd plump for "make defconfig" myself, from "Linux Kernel in a Nutshell"
Quote:
Every kernel version comes with a "default" kernel configuration. This configuration is loosely based on the defaults that the kernel maintainer of that architecture feels are the best options to be used. In some cases, it is merely the configuration that is used by the kernel maintainer himself for his personal machines. This is true for the i386 architecture, where the default kernel configuration matches closely what Linus Torvalds uses for his main development machine.
and instructions for configuring a kernel from scratch can be found at Updating KC11 — kernel compiling for the beginner
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
marstonis
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2006
Posts: 84
Location: Coventry, UK

PostPosted: Sat May 12, 2007 4:26 pm    Post subject: Reply with quote

Thankyou to all those people who took the time to offer some constructive comments there, though in the end, I just booted from the LiveCD, copied it over then just went back into Knoppix and chroot'd and re-mounted. Problem solved.

I was really just hoping to get this box finished as quickly as possible. Am only getting paid for 2 hours work and anything over that is well, at my own expense, really.

Again, thanks to those that helped. Is very much appreciated.

-Martin
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s:- a C++ UL++++ P+ L+++ E-- W++ N o+ K++ w---
O- M- V- PS+ PE-- Y PGP+ t+ 5- X-- R+++ tv- b+ DI-- D
G e h-- r- y--
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat May 12, 2007 4:29 pm    Post subject: Reply with quote

Glad you've got it sorted.

Just a note. If the box has SATA, the root filesystem is on SATA and you are using the 2.6.17 config with a 2.6.19 kernel or later, you will have to enter the SATA setting by hand.

Details (if you need them) in [FAQ] KC13: I just installed a new kernel and it won't boot
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
marstonis
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2006
Posts: 84
Location: Coventry, UK

PostPosted: Sat May 12, 2007 4:42 pm    Post subject: Reply with quote

Luckily, it is just a bog-standard P4 with IDE and the only problems I have encountered with the install has all been network related. DialUp to be more precise. :(

Thanks for that little snippet though, noted in my proverbial little black book, nonetheless.
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s:- a C++ UL++++ P+ L+++ E-- W++ N o+ K++ w---
O- M- V- PS+ PE-- Y PGP+ t+ 5- X-- R+++ tv- b+ DI-- D
G e h-- r- y--
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat May 12, 2007 4:55 pm    Post subject: Reply with quote

marstonis wrote:
Luckily, it is just a bog-standard P4 with IDE and the only problems I have encountered with the install has all been network related. DialUp to be more precise. :(

Thanks for that little snippet though, noted in my proverbial little black book, nonetheless.
Fancy: "bog-standard P4" — how swiftly things change from "trumpeted from the rooftops" to "bog-standard".

The unstable genkernels (later than 3.4.6) have a new default config for x86 which derives from 2.6.19-gentoo-r5 and SATA support is there but all as modules: not all the PATA is compiled in either. x86_64 default config is still 2.6.17-gentoo-r7.

might save you some hair-pulling :)
_________________
The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat May 12, 2007 5:06 pm    Post subject: Reply with quote

Jaglover wrote:
Naib wrote:

What you need is the .config file for the most recent gentoo liveCD, where to get???

Why the heck would someone need .config file from recent Gentoo liveCD??? How is it better than one can generate using make menuconfig??? Isn't Gentoo about customizing? Why not to use the .config file tailored for your needs and hardware!?


*sigh* its what the bloke requested and all I was doing was reponding to what re requested :roll:
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat May 12, 2007 5:07 pm    Post subject: Reply with quote

Jaglover wrote:
Kernel is the most important part of Linux operating system. You do not have time for it?

The best and most constructive way to deal with it is to start with make allnoconfig and go from there.


He is planning on using genkernel so I guess not :roll: Way to go "holier then thou" linux user. I am supprised that "RTFM" hasn't been posted by you yet :roll:
configuring the linux kernel can be daunting for someone who as never done it before
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat May 12, 2007 5:51 pm    Post subject: Reply with quote

Are we talking about Gentoo here? Genkernel, binary GUI install ...

I feel increasingly this forum does not carry Gentoo spirit any more. Sounds more like an Ubuntu one, Gebuntu maybe.

... What? ... Naib, did you say something? Oh, I can hear you now. You are saying: get lost dude, if you do not like it here.

Point taken, leaving. You won't see me posting on this Gebuntu forum any more.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
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