LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-15-2007, 08:38 AM   #1
fitzov
Member
 
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Rep: Reputation: 15
Transfer to new computer


Let's say I have Debian all setup with updated packages, new packages, etc, and I want to transfer this to a new computer. Is there a relatively seamless way to do this, or do I need to reinstall Debian and start over again?
 
Old 05-15-2007, 08:57 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Well, dd would be the easiest way to image the source hard drive and then transfer that to the new PC over a network/DVD/external hard drive etc.

I'm not sure, but I would imagine that the PC to which you are transferring to would have to be identical to the source one, hardware-wise. I may be wrong on that last bit though...
 
Old 05-15-2007, 09:02 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I would install the minimal system on the new computer and then copy the _list_ of installed package on box1 to box2.
As soon as you have the list, you ask box2 to reinstall them (probably it will redownload them)
On box1
Code:
apt-get update
apt-get upgrade
dpkg --get-selections > /tmp/box1_list
On box2
Install a base debian system
Code:
apt-get update
apt-get upgrade
cat box1_list | dpkg --get-selections -
apt-get dselect-upgrade
 
  


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 move open office doc from Linux computer to Windows computer Phoenixink Linux - Software 6 02-15-2007 07:09 AM
Why Scourge (2nd computer) isn't getting ip address from Misery (1st computer) dhcp? pslave Linux - Networking 2 04-09-2006 05:58 AM
Can't copy files from an SCO Unix System V computer to a Linux computer gnppapas Linux - General 2 11-27-2004 01:39 PM
How can i portage Linux from computer with Celeron proc to computer with Pentium 166? gdi Linux - General 4 05-31-2003 01:11 AM
How do you transfer evolution mail and settings to another computer running evolution cmisip Linux - Software 2 01-10-2003 02:07 PM

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

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