.config file for kernel compilation, is it universal format?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
.config file for kernel compilation, is it universal format?
To be more precise, can I use somebody else's .config file to compile my kernel, if we are using a different disto but the working on the same kernel version?
I reckon i'd be the same provided the kernel versions are the same becoz some parameters are only for a certain version of kernel.... but just to make things certain before compiling becoz it makes a bit of time in my PII box.
yeah should be ok, no real reason not to other than many distro's will provide their own patches for the kernel, so they might differe slightly in terms of the config. any missing options will just get ignored though.
OT - isn't cov cold today? i'm sitting in the Walsgrave triangle, waiting for lunch....
y'know for £10.50 i could arrange to meet you and let you touch my hand... then you'd be truly blessed!
Last edited by acid_kewpie; 02-23-2004 at 06:42 AM.
but it doesnt seem quite work... i placed the .config file in /usr/src/linux
but running make menuconfig does not seem to load that .config file...
straight away? or did i place the .config file in a wrong location?
OT1: It is indeed... I am in the student union of university of warwick, wind's sneaking inside... should haf got one or two more layers... come over n u will see a chinese boy playing around with his iBook haha.
OT2: heard that I can compile and compress the kernel, would u pls give me some direction of how to do that? coz i m compiling a small kernel for a CF Card, then i will run that with a mini-itx board to form a PPTP VPN router. And can i compile some other applications (webmin and poptop) into the kernel or do i need to compile it with the 'compiled kernel system'? or should i compile it in a redhat machine and copy the binary to the CF card?
Sorry there's a bunch of questions... thanks a lot chris.
well the menuconfig should read the file fine, you can always try loading it in specifically... go to load from alternate location (or whatever it actually is) and then enter the path, should load up fine. why do you not think it loads?
on the 2.4 series, once you exit menuconfig, then it'll be ready to make dep and so on from there.
OT1 - i got a 2:1 in CSE there... not in the SU of course.. i used to DJ there for the union, and also ran Offbeat...
OT2 - the bzImage (vmlinuz) IS the compressed file. the vmlinux file is the uncompressed one. mini-itx? http://mini-itx.com/projects/animalsnes/ i rock. i've never meesed with CF though.... most files should be adequately compatible though
you r the man chris.
will look into your project in a minute.. i m now in k'scope, the cafe attached to the library.
the reason that i worried about the .config file is that the options dont seem to be selected accroding to the .config such as CPU type should be seleted as Cyrix /VIA C3 and so on.
so how do i enter the path?
i think compatability is njot an issue since the BIOS sees my CF as a 128MB LBA HDD... I m worried about compiling the kernel thou... like wat i mentioned, should i compile extra apps such as webmin and poptop in the mini-itx box? if yes, i need to put a glibc into the mini-itx box as well which takes up a bit of space....
what do u think abt that?
OT: i did a bit of DJ earlier in my first yr (chinese radio show called purple paradise) where i m a finalist now for CBS, struggling to get a 2:1.
just type the full path in when prompted, but overwriting the .config really should normally do it. obeviously you don't want to do a make mrproper or anything between copying the config and making the kernel.
as for extra apps... well you've got room for glibc no problem... mayb eyou'd just want to look at a ready made distro like damnsmall for inspiration (or a total solution depending on your needs)
but then webmin is just scripts anyway, so doesn't need compilation (afaik) and i've not heard of poptop before.. soujnds like summat to do with pptp to me....
ahhh i just messed up something stupid meself moments ago, it's fine now with the .config problem.
i got the .config gile from www.linitx.org and modified a bit... now it's compiling.
will a bzImage file be created once make bzImage is done?
what should i do to the file? obviously i DON'T want the compiled kernel ro run on my normal redhat box.... there's a couple of commands that i can fdisk n format my CF (just an ordinary HDD) into a bootable drive then i can 'burn' the image into the drive... but i haf no clue of how to do that. it's my first time of compiling my own kernel n stuff. the kernel dont panic, i panic.
thanks a lot chris, your nintendo box rock! (i m hoping to build my own box for my project thou)