Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-27-2011, 10:36 AM
|
#1
|
Member
Registered: Nov 2010
Location: Ragusa, Italy
Distribution: Slackware64-current
Posts: 187
Rep:
|
Slackware32 -> Slackware multilib
hi,
Slackware64 can be turned to a multilib 32/64 system easily, as we all know.
But would it be possible to turn a Slackware32 into a multilib 32/64 system, without reinstalling to a slack64?
Maybe booting from a 64bit DVD, mounting the disk partition and upgradepkg-ing enough relevant packages?
Has anyone tried it and is willing to provide any info?
|
|
|
03-27-2011, 10:57 AM
|
#2
|
Member
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Rep:
|
Sounds like the hard way to me.
|
|
|
03-27-2011, 11:04 AM
|
#3
|
Member
Registered: Nov 2010
Location: Ragusa, Italy
Distribution: Slackware64-current
Posts: 187
Original Poster
Rep:
|
Quote:
Originally Posted by psionl0
Sounds like the hard way to me.
|
We wouldn't be using Slack if the hard ways would scare us, would we?
I think I'll try in a virtual machine and see what comes out.
|
|
|
03-27-2011, 12:02 PM
|
#4
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Just out of curiosity, why would you need multilib if you are using 32bit Slackware?
The rationale for multilib is so that the user can use the relatively few remaining apps that are 32bit only on 64bit Slackware. If you are using 32bit, then you are there already, as I am sure you know.
Are you looking for better performance from 32bit Slackware? Or are you trying to use more than 3GB of memory on 32bit Slackware?
If so, then I would think that the best approach would be to start with 64bit Slackware. Then add multilib if you need it.
I use both (sort of). I have Slackware 13.1 32bit installed to one partition. And I have Salix 13.1 64bit installed to another partition. I have 3GB of memory and a dual core 64bit CPU. I do not see any really significant difference in performance between 32bit and 64bit. Your experience could well be different though.
Last edited by tommcd; 03-27-2011 at 12:12 PM.
|
|
|
03-27-2011, 01:01 PM
|
#5
|
Member
Registered: Nov 2010
Location: Ragusa, Italy
Distribution: Slackware64-current
Posts: 187
Original Poster
Rep:
|
Quote:
Originally Posted by tommcd
Just out of curiosity, why would you need multilib if you are using 32bit Slackware?
|
For the sake of detail, I want to turn an already installed 32bit system into a 64bit system without reinstalling. But being the "main" system, where I also use wine, google earth, skype, etc. I also want to run those. I already have a 64bit only installation on the laptop, that I made from scratch when slack64 came out.
The main system is a pre-slack64 era installation on current. I don't remember exactly, I think it was a 12.0 system went to current.
Quote:
Originally Posted by tommcd
Are you looking for better performance from 32bit Slackware? Or are you trying to use more than 3GB of memory on 32bit Slackware?
|
Linux doesn't need to be 64bit to handle more than 3Gb of memory in a decent way For the experience I've had on my other systems, I feel the 64bit system to be slightly more sleek and efficient. It could be just a perception, but I like it! Also this "main" system is a rather powerful equipment (AMD PhenomII 975) and keeping it on 32bit sounds a lil offensive
Quote:
Originally Posted by tommcd
If so, then I would think that the best approach would be to start with 64bit Slackware. Then add multilib if you need it.
|
It could be, but I come from an the old school where reinstalling is the last resort of a poorly skilled administrator That's why I keep all my systems on -current, I never reinstall them, just keep them up to date. Each installation is meant to last, ideally, forever. It may sound fussy, I know!
Quote:
Originally Posted by tommcd
I do not see any really significant difference in performance between 32bit and 64bit. Your experience could well be different though.
|
Yes, I've read a lot of opinions on this matter, and many say there's no visible difference in performance. But also many say that they do feel the system as being more responsive in some way. It could be just a perception.
Anyway sooner or later 32bit should fade away. Are we going to 128bit systems with still 32bit software?
|
|
|
03-27-2011, 04:42 PM
|
#6
|
Member
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Rep:
|
You could probably accomplish the goal by first installing the 64bit kernel and re booting (don't replace the existing kernel and add a separate boot option just to be sure you don't screw anything up)
Once you boot 32bit slackware with a 64bit slackware, I would think the process would be the same by installing the same alien bob multilib compilers and glibc stuff.
You could then edit the assistant scripts that aim at assisting compiling 64bit instead of 32bit as well as the repackage scripts to convert 64bit packages to install on 32bit systems without conflicts.
However, the usefulness of this is pointless. You would be better off reinstalling from scratch a full 64bit system and converting it to multilib for the very few 32bit apps you need to support.
|
|
|
03-27-2011, 08:44 PM
|
#7
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367
|
If you do want to do this you'll probably be spending some time with the install disc using `ROOT=/path/to/slack removepkg`/`ROOT=/path/to/slack installpkg` and/or using upgradepkg in a chroot environment. I don't think this process has been documented anywhere so it would require experimentation. It's possible, yes, but not straightforward and it is far easier to just backup the relevant partitions and install fresh (and subsequently copy your data back).
|
|
|
03-28-2011, 04:36 AM
|
#8
|
Member
Registered: Nov 2010
Location: Ragusa, Italy
Distribution: Slackware64-current
Posts: 187
Original Poster
Rep:
|
ok guys thanks for your answers and hints.
You all say the things I was imagining myself, more or less.
I will see if I want to spend time trying this conversion or if I just want to backup data and reinstall (btw, the scope of the whole mess was to avoid a reinstall and a backup )
|
|
|
03-28-2011, 11:01 AM
|
#9
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,796
Rep:
|
Quote:
Originally Posted by lonestar_italy
hi,
Slackware64 can be turned to a multilib 32/64 system easily, as we all know.
But would it be possible to turn a Slackware32 into a multilib 32/64 system, without reinstalling to a slack64?
Maybe booting from a 64bit DVD, mounting the disk partition and upgradepkg-ing enough relevant packages?
Has anyone tried it and is willing to provide any info?
|
First, try switching the kernel to a 64-bit one and run your 32-bit userland on that. It should work just fine. But you are in for a lot of change going 32->ML than going 64->ML, since ML is mostly a 64-bit system with ability to do 32-bit.
|
|
|
03-28-2011, 05:48 PM
|
#10
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Quote:
Originally Posted by lonestar_italy
... But also many say that they do feel the system as being more responsive in some way. It could be just a perception.
|
To be honest, this was my first impression when I installed 64bit Slackware. The system did seem to be a bit faster and more responsive. Whether this was just my subjective opinion or not I really can not say.
Theoretically, it should be so, since the 64bit kernel is more optimized for 64bit CPUs.
Quote:
Originally Posted by lonestar_italy
Anyway sooner or later 32bit should fade away. Are we going to 128bit systems with still 32bit software?
|
Yes this is true. The future belongs (at least for the present time anyway!!!) to 64bit CPUs and software.
By the time we are ready to move to 128bit software, all of the 32bit stuff should be a distant memory. After all, how many people are still running 16bit software in this growing age of 64bit CPUs and software?
One thing is for certain ...
When the world is ready to move to 128bit CPUs and software, I will probably continue to use that old and tired 64bit stuff until the very last days of it.
Last edited by tommcd; 03-28-2011 at 05:54 PM.
|
|
|
03-28-2011, 05:52 PM
|
#11
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
It will be a long time until 32 bit Linux will fade away. The majority of Linux devices nowadays are not PCs, but embedded devices like smartphones and such things, and allmost all of them run 32 bit processors.
|
|
|
03-29-2011, 08:44 AM
|
#12
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,796
Rep:
|
Quote:
Originally Posted by tommcd
To be honest, this was my first impression when I installed 64bit Slackware. The system did seem to be a bit faster and more responsive. Whether this was just my subjective opinion or not I really can not say.
Theoretically, it should be so, since the 64bit kernel is more optimized for 64bit CPUs.
|
The memory model used for 32-bit can also have an effect. If you have, for example, an 8 GB RAM machine, to use it all in 32-bit, you need PAE mode, which causes the kernel to "bend over backwards" in many cases of memory access between kernel and process VM.
But 64-bit isn't exactly optimal for everything. More memory is used in structs and arrays that store pointers. Most programs don't have much impact from that, fortunately.
Quote:
Originally Posted by tommcd
By the time we are ready to move to 128bit software, all of the 32bit stuff should be a distant memory. After all, how many people are still running 16bit software in this growing age of 64bit CPUs and software?
|
The embedded firmware in your toaster might still be 32-bit
At least we'll have 64-bit time values to avoid the Y2038 bugs, though you might find your food freezer thawing out on that fateful day if they still use 32-bit time values
|
|
|
03-29-2011, 11:56 AM
|
#13
|
Senior Member
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076
|
Quote:
Originally Posted by lonestar_italy
It could be, but I come from an the old school where reinstalling is the last resort of a poorly skilled administrator That's why I keep all my systems on -current, I never reinstall them, just keep them up to date. Each installation is meant to last, ideally, forever. It may sound fussy, I know!
|
Well the old school didn't have 64bit systems
so get out your gas mask (to filter out the snitch installtion ) and install
I said INSTALL not reinstall
you can't reinstall something that was never installed in the first place
most likely you have a ton of cruft laying around from all the up dates
that could use cleaning out anyway
your right most of the time
"reinstalling is the last resort of a poorly skilled administrator "
BUT not always
some times it's the best way to clean house
Last edited by rob.rice; 03-29-2011 at 12:04 PM.
|
|
|
03-29-2011, 12:10 PM
|
#14
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Quote:
Originally Posted by tommcd
After all, how many people are still running 16bit software in this growing age of 64bit CPUs and software?
|
One of them are YOU, because a cheaper phone run in 16bit, also, just to remember that your TV box microcontroller typically run 8bit code, being derived from the platform MCS51.
|
|
|
03-29-2011, 12:42 PM
|
#15
|
Senior Member
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,796
Rep:
|
Quote:
Originally Posted by rob.rice
Well the old school didn't have 64bit systems
so get out your gas mask (to filter out the snitch installtion ) and install
I said INSTALL not reinstall
you can't reinstall something that was never installed in the first place
|
Why not just upgrade to 64-bit? Start by upgrading the kernel and rebooting.
|
|
|
All times are GMT -5. The time now is 05:40 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.
|
Latest Threads
LQ News
|
|