Copying a complete root parition over a network cable for a new install
The best way to copy whole partition is when it is offline (not used)
Boot both laptops from live-cd's (for example knoppix) and do like
described in this article
dd if=/dev/hda1|nc 192.168.1.1 2222 - on sending laptop
nc -l -p 2222|dd of=/dev/hda1 - on receiving one
If it seems difficult then you can use tools like "ghost or partition
magic" they have network support also.
On Thu, 2008-04-24 at 17:00 +0200, Micha wrote:
> I need to install debian for a friend of mine that got new machine. Apart for
> the network card driver (which is actually a relative of mine) and the graphics
> card which is intel instead of nvidia the install should be about the same.
> I thought to save some headache and just copy over the whole linux partition
> and just fix up the small tidbits (network driver, graphic driver and fstab).
> Since these are two laptops, moving the hardrive over won't work so I need to
> do it over the network. What would be the best way to do this? Should I boot
> the new laptop with ubuntu or something or do a base debian install? Is there a
> better way, and how do I make sure that the permissions and owners don't change
> and that /proc, /sys, /dev etc. are not copied?
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org