Re: how to create an image of your debian computer hard drive for cloning



On Tue, Sep 30, 2008 at 4:14 PM, Hans Ekbrand <hans@xxxxxxxxxxxxxxxxx>wrote:
[...]

If you can plug the hard disk of the "clean pc" into your existing
system, then I recommend dd. If you need to manually move the data
between the computers then partimaged is handier. If both computers
exists in a fast lan, I guess you could just

At source
- export / from the source over NFS
At target
- boot a live cd on the target,
- mount source.ip:/ /mnt
- dd if=/mnt/dev/sda (or whatever hard disk on source is) of=/dev/sda


If you are on a fast LAN, I'd recommend using netcat with dd instead of
mounting / over NFS. You'll have much less overhead and can determine your
own buffer size (via dd's blocksize parameter). Check the archives, I think
we discussed this just a few weeks ago, or just google "dd clone netcat" or
something along those line.

Cheers,
Elijah
--
http://elijahr.blogspot.com/


Relevant Pages

  • Re: Its official: NO one is protecting your privacy
    ... How about by leaving a new board on privacy and civil liberties ... Computers in Communist China and Russia, and some among them are using ... Government and US Corporations Computers, much of mine was sent to ... could not plan and target them, while they are using the accurate Maps ...
    (alt.politics)
  • ERR3:7075 Failed to change domain affiliation
    ... However, migrating computers is ... Every time I test the migration of a computer from the NT ... supposed to log onto the target DC but change the domain ... I can add the target domain administrator to the ...
    (microsoft.public.windows.server.migration)
  • Re: Migration from a child domain 2000 to a new 2003 Root Domain
    ... source so that when you log onto Target you will be an admin ... on each computers to migrate... ... Still add target domain admins to source domain local group ... Do I have to do the bidirectional trust between the 2 roots or Can I ...
    (microsoft.public.windows.server.active_directory)
  • Re: OT - New Dell PC
    ... As with any person with a job remotely involving computers I get roped into fixing my friends' IT problems. ... Clueless people who don't even know what software they want and shouldn't be left loose on a computer or those willing to forgo administration rights altogether I recommend Linux and then log in to maintain it myself as required. ... People who are insist on running the same as everyone else in the sheep mentality I watch buy windows PCs time after time and commiserate with them later. ... I think the reason Macintosh is so good is that they have complete control over basic hardware and OS - there's hardly any need to worry about 3rd party drivers. ...
    (uk.net.web.authoring)
  • Experts: Malicious program targets Macs
    ... It seems that as sleek Mac computers become more popular, they're also more sought-after targets for the authors of harmful programs. ... "The bad guys generally go toward the biggest target, what will get them the biggest bang for their buck," said Kevin Haley, a director of security response at Symantec. ...
    (comp.sys.mac.apps)