Re: 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?

Thanks


--
http://unixinmind.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Is this a viable backup/restore strategy?
    ... installing the Master Boot Loader .Once the drive is prepared, ... Restore the image for the XP partition over the network (most imaging ... restore your other backups. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Hard drive replacement
    ... Now it won't boot at all. ... I can hear both the HDD and combo drives spin up. ... My main problem is ignorance of laptops in general, ... I've never had just one partition on a multi-partitioned drive fail on me, leaving the other partitionon the same drive intact. ...
    (comp.sys.laptops)
  • Re: Hard drive replacement
    ... Now it won't boot at all. ... I can hear both the HDD and combo drives spin up. ... My main problem is ignorance of laptops in general, ... I've never had just one partition on a multi-partitioned drive fail on me, leaving the other partitionon the same drive intact. ...
    (comp.sys.laptops)
  • Re: The Perfect Clone: Am I doing this right?
    ... virtual SCSI drive as a partition on the physical hard drive. ... boot the machine with the Ghost 10.0 CD, ... to the network and boot it with the Ghost CD. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: windows fails to boot on toshiba laptop after 10.0 install
    ... >> previously had XP on a single ntfs partition. ... > Laptops very othen use 240 as the geometry head count, needed Windows ... > to boot. ...
    (alt.os.linux.suse)