LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-22-2009, 07:08 AM   #1
Slacker_Rex
Member
 
Registered: Aug 2003
Location: Arkansas
Distribution: Slackware 12.2
Posts: 104

Rep: Reputation: 15
Duplicating installed system to a new one


Basically I want to duplicate the installation from my old machine to my new machine.

I started with a fresh install of 12.2 and then updated everything from there that has had a patch released for it.

For shared partitions, I have used dd to backup the data, but I am stuck on how to best make sure that all of the custom packages I compiled get installed on the new machine.

I would like to install everything as it was on my old machine. There are quite a few SBo and other packages that I compiled and installed though. What is the easiest way for me to install these on the new machine? I am thinking I can copy the packages in the /tmp folder on the old machine (I never deleted the packages once I ran the slackbuilds) and then install them. Is this the right way to go about it, or is there a better way?
 
Old 05-22-2009, 07:45 AM   #2
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by Slacker_Rex View Post
I am thinking I can copy the packages in the /tmp folder on the old machine (I never deleted the packages once I ran the slackbuilds) and then install them. Is this the right way to go about it, or is there a better way?
That's what I do. I have a desktop and a laptop both running the same version of Slackware. I usually make the Slackware packages (either from SlackBuild scripts or using src2pkg) on the desktop and then copy them to the laptop. Use installpkg or upgradepkg to install them and you'll be ready to go.

If you've got both computers running at the same time, and they're connected, you could potentially use rsync to synchronize the two versions of your home directories.

Regards,

-Drew
 
Old 05-22-2009, 10:56 AM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Slacker_Rex View Post
Basically I want to duplicate the installation from my old machine to my new machine.
I always install and configure Slackware on the first machine and then I clone my installation on the other machines. I use regular tar czf backup-copy.tgz to store the root partition and tar xzf backup.copy.tgz to restore it on the other machines. To do it I run my machines using Slax. Finally I customize fstab and lilo.conf on the second and the third machines. In result I have on all my machines the same system using the same configuration.
 
  


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
Duplicating installed packages with yast tweak13 SUSE / openSUSE 3 03-30-2007 05:22 AM
Duplicating / backing up system to other harddisk xptchina Linux - Software 2 09-19-2006 10:06 AM
Duplicating a Linux System Disk rapidly (ie. ghosting a HDD) richearle Linux - General 1 08-02-2006 03:56 AM
duplicating contents of a HD peterhf Linux - Hardware 9 08-12-2003 04:30 PM
duplicating a webserver jasoncngo Linux - Software 6 04-07-2003 01:37 PM

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

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