LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2014, 11:10 AM   #16
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843

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.
 
Old 08-12-2014, 11:14 AM   #17
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by morphin View Post
Maybe I may have misunderstood.
Maybe. I suggest that you show this thread to your systematist, check your understanding with him then get back to us as need be.
 
Old 08-12-2014, 11:15 AM   #18
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3slider View Post
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."
 
Old 08-12-2014, 11:23 AM   #19
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Maybe. I suggest that you show this thread to your systematist, check your understanding with him then get back to us as need be.
Make fun my brother.
I'm trying to learn linux and I have not slept for 48 hours.

Whatever, i find what he is want from me.
So m trying to change kernel version now.
 
1 members found this post helpful.
Old 08-12-2014, 11:34 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by morphin View Post
So m trying to change kernel version now.
Then just follow the link Ponce provided in post #15.

Rationale: in Slackware you can't just get another kernel somewhere "ready to use" and install it: you have to build it yourself.
 
Old 08-12-2014, 11:41 AM   #21
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Then just follow the link Ponce provided in post #15.

Rationale: in Slackware you can't just get another kernel somewhere "ready to use" and install it: you have to build it yourself.
holly shit. Its really hard for me because m using windows & ios.
I dont know file extensions or commands.

Can i change old version slackwhere kernel to new one?
Because m reading and i dont know What I'm working on.
How long can I do?
 
Old 08-12-2014, 11:43 AM   #22
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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.
 
Old 08-12-2014, 11:46 AM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by morphin View Post
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.
 
Old 08-12-2014, 12:01 PM   #24
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
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."
 
Old 08-12-2014, 12:04 PM   #25
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 08-12-2014, 12:10 PM   #26
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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.
 
Old 08-12-2014, 12:17 PM   #27
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
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.
Tnx.
I need to change kernel in Slackware. And i found already this:
http://docs.slackware.com/howtos:sla...kernelbuilding

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?
 
Old 08-12-2014, 12:56 PM   #28
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
Grab a kernel from https://www.kernel.org/

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
 
2 members found this post helpful.
Old 08-12-2014, 02:36 PM   #29
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Welcome to LQ!

Quote:
Originally Posted by morphin View 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?
'Systematist;
Quote:
sysˇtemˇaˇtist [sis-tuh-muh-tist]
noun
1. a person who constructs a system.

2. a naturalist engaged in classification.

3. a person who adheres to a system, order, or method.


This is also a useful tool as a dictionary.

You can use https://translate.google.com/ to translate from your native language to English. Be aware that sometimes grammatical along with direct translation can produce misunderstanding(s). You could use http://translate.reference.com/?query=translation and their other tools to aid in grammar & reference to aid you. Another tool would be: http://www.spellchecker.net/grammar/# to help you with grammar.
Hope this helps.
Have fun & enjoy!
 
Old 08-12-2014, 03:39 PM   #30
morphin
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
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.

Pictures:
console

Terminal
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change the complex number display mode. ... real number sandeep002gupta Programming 1 05-09-2011 06:15 AM
SSL version number typo in slackware.com repository clifford227 Slackware 3 04-01-2010 04:33 PM
how to manually change version number? thatguyinss Linux - Software 3 03-13-2008 04:30 PM
where is slackware version number? davidsrsb Slackware 3 09-08-2004 05:38 AM
Does Swaret change Slackware version? Xylon Slackware 11 10-06-2003 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration