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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi im using slack 9.0 and im going to recompile my kernel..... but the question is what kind of architecture should i choose...
the default one is 386..
but im running on a AMD AthlonXP1800+ so what architecture should i choose for compilation.......
i386, i586, P4, Athlon/K7/Thunderbird
witch one should i pic.... last time i picked i586 the comp got stuck at compile time....?
edit: how can i save this kernel the one tha i compiled so that i can use it latter on for this machine... ex.. say i installed slackware again and i want to use the kernel i compiled!! how can i save it?
Last edited by FearPasion710; 09-19-2003 at 09:03 PM.
I compiled using Althon and it worked lol.. YAY YAY YAY I COMPILED MY FIRST KERNEL..........BUT HOW DO I CHECK TO SEE IF ITS THE KNEW ONE AND NOT THE OLD ONE!!!
Check out www.slackware.org, go to the Book (link on the upper left), and go to section III, Configuration, Selecting a Kernel. It gives instructions on how to backup your old kernel, build one, and set the new one to boot.
Note that where you have to send the new kernel images might be <slightly> different than the instructions, depending on where you boot from. In the instructions it says to copy the bzImage to the / directory. On my machine it's in the /boot directory. Just do an ls in each directory to see where it is.
You have to explicitly tell the system to use the new kernel. Otherwise how can it know about it (let alone boot it)? - like the previous post said, read the slackware book section on kernel compiling.
to check the size you can do an [ls -al] command on the directory containing your new kernel image.
The kernel you built will be in the /usr/src/linux/arch/i386/boot directory, as an image file that you copy to wherever vmlinuz is (vmlinuz being your current kernel image). The associated map file is in the /usr/src/linux directory. You can easily check the file sizes that way.
As far as checking if you really are booting from the new one, if you follow the instructions in the Slackware book, and the machine boots OK, you've done everything right. If the machine fails somewhere in the boot or startup script, then you're definitely using your new kernel and you did something wrong, which is usually what happens to me (like right now, where my SCSI card isn't being probed and so it can't find a root partition). :-) At this point, it helps if you have a boot floppy available to bring the machine up or have lilo (or grub) set up to boot your old image as an option.
Thanks that helped alot... Thank you all for your time!!
but how can i save my newly compiled kernel for next time i install slackware. ie it ask's me if i wanna use i precompiled kernel of my own so how can i save it?
Last edited by FearPasion710; 09-19-2003 at 09:56 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.