LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-14-2006, 10:26 AM   #1
edM
Member
 
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Rep: Reputation: 15
upgrading hardware, how does slack cope?


in the next month or so i am thinking of upgrading the PC from intel to amd architecture. so a new mainboard and cpu (also a new grahpics card why the hell not!).

i dual boot with slack and winXP, and windows can be a fussy bugger when you change mainboard so i am going just going to backup and reinstall.

i have never done a major upgrade with lunix before. do i need to reinstall slackware, backing up all /etc/ /home and so on, or should it be ok with the necessary kernel changes before changing over?

any other advice is most welcome.

/dev/sda1/winxp
/dev/sda2/ 3rd party linux programs and files
/dev/hda2/main linux part

thanks
 
Old 01-14-2006, 10:40 AM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
EEk....Depends. It MAY boot, but not very well. At the least, a kernel recompile with the proc, sound, chipset changes, etc will be neccesary. If you can do a new clean install, may STILL have same issues. The possible route to take is to compile the kernel BEFORE making the swap. Then shutdown, swap the parts, fire it up, and pray it boots ( I can't remember the last time a complete recompile worked exactly as I wanted it to on the first boot).

The main thing is how much hardware is changing. You maybe better off with a fresh install, because of starting with a fresh base, you have less of the extra stuff that the old setup had that can interfere with the new hardware.

What the heck. Try it. Try both ways. All it will cast is time. That is, as long as you don't toast your backups...(Yeah, I've NEVER done that!)
 
Old 01-14-2006, 09:47 PM   #3
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and Debian
Posts: 139
Blog Entries: 1

Rep: Reputation: 20
I recently (last week) transfered my 40g drive , win98 and slack 10.0 from my old old computer to this here newer old machine....hummm

Windows was the one doing the most complaining...had to reinstall, it kept getting that blue screen ; with slack all i had to do was to run xorgconfig and it was up and running ,it detected the integrated ethernet all by itself...no reinstall here ... good luck
P.S. Even if you had to reinstall...it is much simpler in Linux than Windows.
 
Old 01-14-2006, 10:02 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you are running a stock Slackware kernel, you should have no problems other than perhaps redoing your X configuration.

If you are using a custom compiled kernel, you are likely going to have to redo most of it.
 
Old 01-14-2006, 10:47 PM   #5
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by MS3FGX
If you are running a stock Slackware kernel, you should have no problems other than perhaps redoing your X configuration.

If you are using a custom compiled kernel, you are likely going to have to redo most of it.
Pretty much what I was going to say earlier (but I had a date with a scotch).

Before you do the upgrade, backup /home and /etc (and any other places you have content), set your machine to boot one of the stock kernels, and set your default runlevel to 3 (or even 1). And backup.

Most stuff will probably work right away, it's not like you're changing CPU architectures - all the Slackware packages are system agnostic (or, rather, x86 agnostic). The only difficulty you might have is with software you have compiled yourself.

Case in point; recently I installed Slackware on a couple of laptops (AMD K6 and PIII, differnt brands/hardware) with busted CD drives (couldn't boot from CD). I was able to stick their HDDs in another laptop (AMD AthlonXP, again differnt brand & hardware) and do the install. Once the drives were returned to their homes, both worked. I have also done similar things with regular PC hardware - swapping drives between machines (while not exactly an 'upgrade', it's essentially the same). A little tweaking of xorg.conf here, a little tweaking of /etc/rc.d/rc.modules there....

I'm with cwwilson721 - try it. Let us know how it goes! I'm going to be doing the very same thing myself on one of mine as soon as I can scrape together the cash for a new mobo/cpu and graphics card, and I'm pretty confident.

Oh yeah, don't forget to backup

Quote:
Originally Posted by cwwilson721
That is, as long as you don't toast your backups...(Yeah, I've NEVER done that!)
Tea and sympathy, my friend. We all have those bruises from kicking ourselves in the shins.

Last edited by odevans; 01-15-2006 at 03:03 AM.
 
Old 01-15-2006, 04:11 PM   #6
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
I recently had to move my slack to an older machine (new mobo just stopped working). I just installed the HD in the old machine as the primary drive (as it was before). I had to do some config file tweaking, mainly:

a) updated /etc/rc.d/rc.netdevice for my new (old) network card. Don't think this is created by default, but is called by the rc.inet? scripts. It contains a /sbin/modprobe line from rc.modules for my specific network card. I prefer using this file to updating /etc/rc.d/rc.modules, mainly because it isn't overwritten/ruled by updating kernel modules.

b) if you're loading any hardware-specific modules, update /etc/rc.d/rc.modules. A good example of this is your sound card.

c) If have on-board audio (and use it), you'll probably have to re-run alsaconfig, alsamixer and alsactl-store. (If you're just taking the old sound card from one system to another, I'm not sure if this is necessary. It can't hurt.)

c) I'm also not sure if this is necessary, but my understanding of linux (which is limitted) tells me that /etc/modprobe.conf contains hardware-specific information as well. At least I noticed some errors/messages on boot which didn't look right. I backed up that file and generated a new one using "generate-modprobe.conf > /etc/modprobe.conf"

Good luck. Fortune favours the bold.

Garry
 
  


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
Upgrading Hardware Strategies confused_bof SUSE / openSUSE 3 06-24-2005 01:27 PM
upgrading slack 1_8_7 Slackware 7 03-20-2005 06:50 PM
upgrading drivers / swapping hardware fatherg Linux - Hardware 1 09-08-2004 05:29 PM
Help with Upgrading Slack ? BajaNick Slackware 16 04-05-2004 07:50 AM
Upgrading hardware with Linux? cexshun Linux - Hardware 3 02-03-2003 01:44 PM

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

All times are GMT -5. The time now is 04:31 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