openSUSE Forums > Install/Boot/Login » Can I use another .config file for Kernel?

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read

Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-Jun-2009, 08:23
growbag's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Köln, Deutschland
Posts: 881
growbag hasn't been rated much yet
Default Can I use another .config file for Kernel?

At the moment I'm running opensuse 11.1 with a self compiled 2.6.29.3 kernel.

I would like to change to a 2.6.30 version, and was wondering if I can use a generated .config file from a running version of opensuse 11.2 milestone2 instead of the one from 11.1?

My milestone2 version would be running on the exact same hardware, I just change the hard drives.
Reply With Quote
  #2 (permalink)  
Old 27-Jun-2009, 08:31
microchip8's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 1,962
microchip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura about
Default Re: Can I use another .config file for Kernel?

yes, I do it all the time. if however the newer kernel offers new options/drivers, the older config file won't have those enabled so you'll have to enable them manually if you need them
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #3 (permalink)  
Old 27-Jun-2009, 08:45
growbag's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Köln, Deutschland
Posts: 881
growbag hasn't been rated much yet
Default Re: Can I use another .config file for Kernel?

Ooops, not quite sure I got across what I was trying to say there .

I have 2 hard drives, one running 11.2m2, the other running 11.1 (with a self compiled kernel).

Both drives run in my laptop and are setup as fully operational (apart from the fact that the last update sadly hosed my m2).

What I was thinking of doing was installing my m2 drive and booting, copying the .config file from it's 2.6.30(something) kernel, then installing my 11.1 drive, downloading the same version kernel sources as my m2 version, and compiling it (on the 11.1 drive) using the .config from the m2.

Sounds complicated, but the reason is that I have never been able to compile a kernel to the same suse specifications.

It works, but not quite the same, I always have to disable the apparmor stuff (not that I really need it, but I hate seeing failed messages on boot!), and I really like the nice background to vt1 .

I could just go ahead and try it I expect, but it takes a very long time to compile.
Reply With Quote
  #4 (permalink)  
Old 27-Jun-2009, 09:38
microchip8's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: /dev/belgium
Posts: 1,962
microchip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura aboutmicrochip8 has a spectacular reputation aura about
Default Re: Can I use another .config file for Kernel?

yes it is possible...

if you hate seeing failing apparmor boot messages, simple disable apparmor from booting if you don't use it. That's what I do
__________________
My site: http://microchip.bplaced.net
My repo: http://download.opensuse.org/repositories/home:/microchip8
SUSE Unbound Forum: http://suseunbound.lefora.com


Do coders dream of sheep() ?
Reply With Quote
  #5 (permalink)  
Old 27-Jun-2009, 09:52
growbag's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Köln, Deutschland
Posts: 881
growbag hasn't been rated much yet
Default Re: Can I use another .config file for Kernel?

Thanks I'll give it a go later .
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2