Re: Copying a complete root parition over a network cable for a new install
- From: "Oleksii.Dzhulai" <nixlike@xxxxxxxxx>
- Date: Thu, 24 Apr 2008 18:22:54 +0300
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
- Follow-Ups:
- Re: Copying a complete root parition over a network cable for a new install
- From: Javier Barroso
- Re: Copying a complete root parition over a network cable for a new install
- References:
- Prev by Date: Re: /dev/null > /dev/sdb1 !
- Next by Date: scripting - how to handle blanks
- Previous by thread: Copying a complete root parition over a network cable for a new install
- Next by thread: Re: Copying a complete root parition over a network cable for a new install
- Index(es):
Relevant Pages
|