LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-04-2014, 01:47 PM   #1
jackboy
Member
 
Registered: Jul 2011
Posts: 116

Rep: Reputation: Disabled
Copying whole system and files to a new' machine


Desktop has died with a mobo fault
So remove HDD
Replacement machine is a compact HP built in such a way that a HDD swap is not feasible.
It has Ubuntu 11.4 basic distro installed.
The 'rescued' drive is fully uptodate
The idea is to attach the donor as an external and copy all over.

Is it doable?

What snags am likely to find?
 
Old 05-04-2014, 03:34 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
you could use some form of DD to perform the replacement of the new internal drive on the HP, but i would suggest a fresh install of Ubuntu get it setup the way you wish, then just rsync the data you need back from the old, now external HDD, to the new internal drive in the HP.

This will be cleaner and provide a much more stable environment as the new install will be built 100% against your new hardware. this is not MS Windows land were it would crash, but you will have better optimized drivers and modules this way in your kernel.

i hope that helps.
 
Old 05-04-2014, 03:36 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Ubuntu 11.04 hasn't been supported for a year so you might be better off doing a backup and a new install. I did this with cp -ax a couple of years ago and everything seemed to work. I think there are better ways of doing it but don't have any suggestions as this is just a hobby for me and I lack the knowledge. Unless the old and new computers are close to identical in hardware, you will have some configuration to do even if the copying does work. Hopefully, someone will have a better option for you. dd or rsync?? You will probably need to configure your bootloader. You haven't indicate what if anything else is on the newer machine.

Last edited by yancek; 05-04-2014 at 03:39 PM.
 
Old 05-04-2014, 08:34 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
For Ubuntu, I would copy the /home from the external to a separate partition on the new system. Then do a full install of a current Ubuntu, taking care to specify the /home partition, and not to format it. Accept all the users it finds, and set the password(s) appropruiately.
When I used Ubuntu I did this on all upgrades - but generally they were within a couple of years. You may be ok too, but if not, nothing lost by trying.
You may need to re-install any packages you specifically installed - in need you can get a list of these by chrooting into the external.
 
Old 05-05-2014, 02:14 AM   #5
jackboy
Member
 
Registered: Jul 2011
Posts: 116

Original Poster
Rep: Reputation: Disabled
Thank you all for your words of wisdom and support
Hep
I note the 'no longer support for 11 Ubunto- but on another much older machine withe same distro,after many warnings telling me 'no longer supported coming in from presumably Canonicle an invitation to up grade came in.
Naturally accepted with alacrity- it took about three hours to grind n on the very ancient Toshiba Satellite 100 ,but it gfot there.
The only hang up it seems to be router code does not want to 'stick' and has to be entered every boot up ,several times too be for connection is achievedd.
But the may be hardware-hardworn,because booting and getting the drive which is new-to kick in.
But its all fun.
For interest and have in my collection an even older Toshiba Portage running CrunchBang.
A/very compact and fast disro for older machines.

I also look after the machines of some older folk ( I'm 81) who are perplexed at what to do about the passing XP-whilst there is nothing/for them to do --it still works I saw it as an opportunity to introduce them to the world of Linux,
Here I installed 'Pinguy' which delighedcthem so far-as a dual booot install,they can look in at XP if they so desire but it seems this happens less frequently as they getvused to the new way.

J

Last edited by jackboy; 05-05-2014 at 02:19 AM.
 
  


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
copying files from host to virtual machine sanaz Linux - Virtualization and Cloud 17 12-07-2012 09:01 PM
Machine locks up when copying lots of files AboveTheLogic Linux - General 11 05-03-2009 11:26 AM
Copying big files in RAID5 will stall system Micro420 Linux - Hardware 1 03-07-2007 08:34 PM
copying files in RH9 from 1 harddisk to another in same system(internal) rajivb Linux - Newbie 8 03-09-2005 10:24 AM
Strange speeds copying files to gateway machine Kristijan Linux - Networking 2 07-30-2004 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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