Re: [expert] Compiling kernels.

2000-08-08 Thread maiplace


- Original Message -
From: "Austin L. Denyer (SysAdmin.) as root" [EMAIL PROTECTED]
To: "Expert Linux List" [EMAIL PROTECTED]; "Jax LUG List"
[EMAIL PROTECTED]; "Linux Laptop List"
[EMAIL PROTECTED]; "Newbie Linux List"
[EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:07 PM
Subject: [expert] Compiling kernels.


 Hi Guys.

 I am running Mandrake 7.0 (kernel 2.2.14-15mdk) and want to upgrade the
 kernel to 2.4.test4 (for the improved USB support).

 However, I've never done a kernel upgrade/compile before.

 Now, I'm no expert with kernels, configurations, etc., so I want to keep
 all of my existing settings as they are, with the only difference being
 that the USB support is enabled.

 Is there a way of 'dumping' my current kernel's existing
 menuconfig/xconfig setup to a file that can be read into the
 menuconfig/xconfig for the new kernel?  In other words, can I make my
 current kernel setup the default?

 One other thing - does anyone know how much disk space I need to have
 free in order to do the kernel upgrade?

how-to: typically 65M or 100M somewhere (need to check).


 Thanks in advance.

 Ozz.




NetZero Free Internet Access and Email_
Download Now http://www.netzero.net/download/index.html
Request a CDROM  1-800-333-3633
___




Re: [expert] Compiling kernels.

2000-08-08 Thread Austin L. Denyer (SysAdmin.) as root

Anton Graham wrote:
 
 Submitted 07-Aug-00 by Scott Kindley:
   Is there a way of 'dumping' my current kernel's existing
   menuconfig/xconfig setup to a file that can be read into the
   menuconfig/xconfig for the new kernel?  In other words, can I make my
   current kernel setup the default?
 
 I missed the original post.  Assuming that by your "current kernel" you mean
 a binary kernel installed fram a Mandrake RPM, you should have the config
 file for that kernel in /usr/doc/kernel-version.  Just copy that to
 /usr/src/linux/.config and manuconfig/xconfig will use it for the defaults.
 Alternately, use the load alternate config option to import the same file.

That'll teach me to be so impetuous - I blatted /usr/doc to clear enough
space for the kernel source :-(

I tried doing everything manually, but seem to have screwed things
monumentally - the new kernel just gives me the black screen of death. 
Fortunately I can still boot into my old kernel.

I suppose I'd better wait until the next meeting of my local Linux User
Group and let one of the Gurus loose on it...

Thanks anyway for your help.

Regards,
Ozz.




Re: [expert] Compiling kernels.

2000-08-08 Thread Daniel Bodanske

in the /usr/src/linux-2.2.whatever that came with your mandrake they
should have a file called something like deafultconfig -- whatever, it
doesn't matter.  I always do the config in X and then out to terminal
for the complle.  Anyway, from a terminal window in that directory, type
"make xconfig" and it should load the mandrake kernel defaults.  hit the
save to file button, and save it someplace easy.  next change to
/usr/src/linux (symlink to Linux-2.4.0-test4 / oh by the way test 5 is
out) and type make x config again.  This time, load the file you just
saved.  I believe this will have all the mandrake defaults, except for
the new functions, which will have the Linus defaults.  I use this this
way, because the download sources have defaults that are very different,
and then I can just turn off those things that I understand and know I
don't use (aplletalk, for instance) and can be certain of getting a good
running kernel. BTW, anyone been using the packet mangling, NFS, and new
in kernel stuff?  What's the major config diffs from the old daemon
method?
Daniel
Scott Kindley wrote:
 
  However, I've never done a kernel upgrade/compile before.
 
 http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
 
  Is there a way of 'dumping' my current kernel's existing
  menuconfig/xconfig setup to a file that can be read into the
  menuconfig/xconfig for the new kernel?  In other words, can I make my
  current kernel setup the default?
 
 
 I think make oldconfig I what your after. (Someone else please conferm
 this)
 
 Cheers,
 Scott



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




RE: [expert] Compiling kernels.

2000-08-07 Thread Scott Kindley

 However, I've never done a kernel upgrade/compile before.

http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

 Is there a way of 'dumping' my current kernel's existing
 menuconfig/xconfig setup to a file that can be read into the
 menuconfig/xconfig for the new kernel?  In other words, can I make my
 current kernel setup the default?


I think make oldconfig I what your after. (Someone else please conferm
this)

Cheers,
Scott




Re: [expert] Compiling kernels.

2000-08-07 Thread Sheldon Lee Wen

I don't think make oldconfig is what this person is after.

From: http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html

`make oldconfig' will attempt to configure the kernel from an old 
configuration file; it will run through the `make config' process 
for you. If you haven't ever compiled a kernel before or don't have 
an old config file, then you probably shouldn't do this, as you will 
most likely want to change the default configuration. 

 I think make oldconfig I what your after. (Someone else please conferm
 this)
 
 Cheers,
 Scott

-- 
===
"... all thoughts of selfish desire, ill-will, hatred and
 violence are the result of a lack of wisdom ... "
 - Buddha

For an awsome fantasy role playing game checkout:
http://members.xoom.com/Lycadican
===




Re: [expert] Compiling kernels.

2000-08-07 Thread Anton Graham

Submitted 07-Aug-00 by Scott Kindley:
  Is there a way of 'dumping' my current kernel's existing
  menuconfig/xconfig setup to a file that can be read into the
  menuconfig/xconfig for the new kernel?  In other words, can I make my
  current kernel setup the default?

I missed the original post.  Assuming that by your "current kernel" you mean
a binary kernel installed fram a Mandrake RPM, you should have the config
file for that kernel in /usr/doc/kernel-version.  Just copy that to
/usr/src/linux/.config and manuconfig/xconfig will use it for the defaults.
Alternately, use the load alternate config option to import the same file.

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!

 PGP signature