[SOLVED] [Solved] I want to change kernel with new wersion..
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I really don't understand the point of this exercise and it will break certain tools that rely on the Slackware version number being one that makes sense and exists. Additionally, just changing the version number doesn't do anything...it has no benefit, unless you mean to fork the distro entirely which would require renaming it as well.
However, if you insist, the version number is contained in /etc/slackware-version and /etc/os-release. It is also used as the version of a few Slackware-specific packages, namely aaa_base, aaa_elflibs, etc, network-scripts and pkgtools. aaa_base and aaa_elflibs (and I believe pkgtools as well) will certainly always contain the version number of the current Slackware release. etc usually does but perhaps not if there is no change between versions, and the same goes for network-scripts. It isn't really essential to rename those packages if you're still following upstream (I don't believe anything will break if there is a mismatch between the version defined in slackware-version or os-release and aaa_*) but you should be aware of the convention. Pat himself doesn't start renaming things and bumping version numbers until a new release is being prepared so Slackware-current still bears the version 14.1 in its files/packages.
I really don't understand the point of this exercise and it will break certain tools that rely on the Slackware version number being one that makes sense and exists. Additionally, just changing the version number doesn't do anything...it has no benefit, unless you mean to fork the distro entirely which would require renaming it as well.
However, if you insist, the version number is contained in /etc/slackware-version and /etc/os-release. It is also used as the version of a few Slackware-specific packages, namely aaa_base, aaa_elflibs, etc, network-scripts and pkgtools. aaa_base and aaa_elflibs (and I believe pkgtools as well) will certainly always contain the version number of the current Slackware release. etc usually does but perhaps not if there is no change between versions, and the same goes for network-scripts. It isn't really essential to rename those packages if you're still following upstream (I don't believe anything will break if there is a mismatch between the version defined in slackware-version or os-release and aaa_*) but you should be aware of the convention. Pat himself doesn't start renaming things and bumping version numbers until a new release is being prepared so Slackware-current still bears the version 14.1 in its files/packages.
I misunderstood sorry for that..
He wants "change kernel with different kernel version on Slackware."
Why not ask your Sysop for a hand in this, since you are new to it? Hands on experience is far better than hacking a few commands together without understanding what they do...
You mentioned he might be trying to teach you -- well, ask him to TEACH you then.
Last edited by szboardstretcher; 08-12-2014 at 11:44 AM.
holly shit. Its really hard for me because m using windows & ios.
I dont know file extensions or commands.
If you are completely new to Linux and have not already done that, first install Slackware and get acquainted with it, with the help of documentation like the one available @ http://docs.slackware.com.
Why not ask your Sysop for a hand in this, since you are new to it? Hands on experience is far better than hacking a few commands together without understanding what they do...
You mentioned he might be trying to teach you -- well, ask him to TEACH you then.
Yea you'r right. I asked him. And he said "YOU CAN DO THAT."
If you are completely new to Linux and have not already done that, first install Slackware and get acquainted with it, with the help of documentation like the one available @ http://docs.slackware.com.
I already install 15 times in my virtualbox tnx bro.
Alright. I get it. You HAVE to do something. You have TRIED everything. And your admin will NOT help you.
Please let's stop with the finger pointing, and the arguing of licenses, and the passive aggressiveness.
Its fairly obvious that the requirement is not to change a version number in a text file.
morphin: What do you want to do? Be specific, tell us what you have done, where you are at in the process, and what you hope to accomplish. Ask your admin for the exact problem to be solved, word for word. Don't bother with single sentence replies, they don't help. Be specific, and maybe the forum can help you.
Last edited by szboardstretcher; 08-12-2014 at 12:12 PM.
Alright. I get it. You HAVE to do something. You have TRIED everything. And your admin will NOT help you.
Please let's stop with the finger pointing, and the arguing of licenses, and the passive aggressiveness.
Its fairly obvious that the requirement is not to change a version number in a text file.
morphin: What do you want to do? Be specific, tell us what you have done, where you are at in the process, and what you hope to accomplish. Ask your admin for the exact problem to be solved, word for word. Don't bother with single sentence replies, they don't help. Be specific, and maybe the forum can help you.
But i dont know how can i do that because m using "mac,micro" and i know c,c++
Now i need to learn how can i do that? Yea its teaching in the website but i cant understand because i dont know: i need to work on kernel screen or in slackware, or i need to use konsole- xkonsole whatever.
Can you explain me step by step how can i do that?
I need just change something. So if i can change old slackware kernel version from to new one thats okey for me. Also if i can change to new kernel thats okey again.
But Which is easier?
navigate to /usr/src
explode the kernel ball in this directory
remove the "linux" soft link and create a new "linux" soft link pointing to the kernel you're working on
navigate to /usr/src/linux
#Edit: Just to clarify all the following "run"s are being invoked in the /usr/src/linux directory
run: make mrproper
if you have slackware kernels currently installed "i presume" you'll find configs in /boot or if you're looking for a newer kernel config you can have a look in http://mirrors.slackware.com/slackwa...-14.1/testing/
There are a few alternatives and you'll have to make choices here:
~considering smp have a look at http://en.wikipedia.org/wiki/Symmetric_multiprocessing
~considering generic vs huge . you can quickly consider it as modular vs concatenated.
Copy a config to ./.config
run: make oldconfig
[run: make [config,menuconfig,xconfig]] #if you want to make additional customizations (in this case i suggest menuconfig)
run: make
run: make modules_install
run: cp ./System-map to /boot/ #name this something unique
run: cp ./.config to /boot/ #name this something unique
run: cp ./arch/<your arch here>/boot/bzImage to /boot/ #this is your new kernel.... once again name this something unique
[if this kernel will be persisting as main use, also considering changing the soft links in /boot/ respecting the previous 3 copies)
configure whatever bootloader you're using to point to your new kernel (i assume you can do this yourself)
[if you chose a generic conf you'll need to create a initrd and have lilo acknowledge it for that entry.. read /boot/README.initrd .. also /usr/share/mkinitrd/mkinitrd_command_generator.sh might come in use ]
reinstall the bootloader
read http://slackbook.org/ the kernel section will be more explanatory although i recommend reading all of it
Welcome to Slackware
Edit: I know my explanation was extreamly vague and fast although i expect it to be used just as a foundation for morphin's learning
Last edited by maciuszek; 08-12-2014 at 01:26 PM.
Reason: mentioned in the post
I dont know what systematist means in english , I'm sorry if incorrectly uses My english isn't good.. It's in my language specialist operating expert.. And you can be sure he is really good on it.
I was actually thinking about it. . I thought it was can not be change. But still are you sure?
I DO IT!!! THANK YOU GUYS. I learned a lot in 1 day! And now m thinking use ubuntu & java scripts!
Guys i liked this website so much. You are good people. Thank you for everything. Sorry for my english again. But trust me i cant speak in real life. I cant make practice foreign friends. If i can use english so much i can learn & speak very well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.