LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2010, 12:12 PM   #1
krawcm
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
Hardware replacement - Slackware


Hello,

I intend to replace my hardware (except hard disks). Is it possible to avoid reinstalling the system? I guess it will not boot with new hardware configuration.

I have 64bit Slackware 13.
 
Old 01-15-2010, 12:17 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Sure, it's possible to avoid reinstalling, and further, it's quite likely it will work just fine. That's what I have done in the past.

Provided there are no GIGANTIC incompatibilities.

To avoid these incompatibilities, like for example if your current kernel is tightly configured for the hardware on your OLD system (drivers for hardware, disk controller, NIC, etc..), it may not be happy with the hardware on your new system; therefore you would want to build a kernel with support for the NEW hardware. But if you're running the stock kernel, this is way less likely.

Short answer: Boot the OS with a generic kernel after you swap all the hardware, and go from there. Should be OK.

Sasha

NOTE: make sure the HDD where the OS is installed, winds up on the same IDE slot as it was previously. If not, you'll need to boot your OS using the CD or DVD, and edit your LILO configuration appropriately, so the bootloader knows where to find it's kernels.

Last edited by GrapefruiTgirl; 01-15-2010 at 12:19 PM.
 
Old 01-15-2010, 12:20 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Your slackware was installed and optimised for that particular hardware set that you've got at the moment. Theoretically, it 'might' work by some strange coincidence but I wouldn't recommend it. Backup your data on a separate partition and reinstall your system once you've upgraded your hardware.


edit: just seen Sasha's answer. I tried it a few times in the past and did not work for me

Last edited by sycamorex; 01-15-2010 at 12:22 PM.
 
Old 01-15-2010, 12:20 PM   #4
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 138

Rep: Reputation: 27
I've done exactly that a few times. By taking my hard drives out of an old computer and placing them into a new computer.
Although this was with 32 bit systems; not 64 bit.

So the question is not so much is it possible. But rather is it easy ?

My most recent change of this type was upgrading one of my desktops that was (and still is) running Slackware 12.1.

In that situation the biggest headache was reconfiguring xorg.conf.

--ET
 
Old 01-15-2010, 12:29 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Good point mentioned about xorg.conf. Video will need reconfigging after the swap too; very likely.

Interestingly, @ sycamorex -- when I last did this, (it was also on a 32bit system: Slack11) and I did have the kernel configured pretty tightly for the old hardware (my mobo that died) so when I got the new mobo (which needed a new CPU, new RAM, new video cards, etc..), I put the machine back together and had fingers crossed -- and was expecting pretty much nothing at all to work.

To my pleasant surprise, the darn thing booted right up without complaint!

Of course, I DID need to do a little bit of work re: video driver, but my new video cards were of the same make as the old ones, so it wasn't bad. Plus, I soon after rebuilt my kernel, geared toward the new processor (which was of the same make too, but a much different model-- I went from an old P4, to a new Core2), but still, it booted up very nicely.

I guess with anything along these lines, mileage may vary per case, but before defaulting to "reinstall" mode, I'd go for it, see what happens. Worst case scenario? It doesn't boot. Use the CD to boot then.

A backup is good advice always.

Sasha
 
Old 01-15-2010, 12:50 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Quote:
Interestingly, @ sycamorex -- when I last did this, (it was also on a 32bit system: Slack11) and I did have the kernel configured pretty tightly for the old hardware (my mobo that died) so when I got the new mobo (which needed a new CPU, new RAM, new video cards, etc..), I put the machine back together and had fingers crossed -- and was expecting pretty much nothing at all to work.
I did it with Fedora 8 or 9, don't remember. It did boot up but the number of error messages I got made me think it's not worth the hassle of trying to fix it and assumed that it's not the most optimal solution. Yes, the kernel can be recompiled and xorg.conf edited to remove most of the incompatibilities and I agree that in the worth case scenario it will not boot up. Still, for some strange reason, I'd go for a fresh install as I'd get the irrational(?!) feeling that the old installation on the new hardware is not 'clean', LOL

...I also believe in Santa.
 
Old 01-15-2010, 01:19 PM   #7
krawcm
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Original Poster
Rep: Reputation: 0
And I hoped to sleep well tonight
Thank you for prompt replies.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slackware and hardware barn63 Slackware 4 05-28-2008 12:19 PM
Kermit/CKermit or replacement in Slackware? randomsel Slackware 7 01-20-2008 09:18 AM
Security update and hardware: To Slackware or not to Slackware... Vrajgh Slackware 29 12-04-2007 04:35 PM
Looking for a Windows software replacement in Linux (Slackware 11) ErV Linux - Software 11 03-30-2007 05:54 PM
Hardware... in Slackware jadukor_bd Linux - Newbie 7 11-13-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 AM.

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