[K12OSN] copy system to another computer

Les Mikesell les at futuresource.com
Thu Jul 14 17:08:32 UTC 2005


On Thu, 2005-07-14 at 11:35, mike webb wrote:
> okay i have k12ltsp setup pretty much the way i want it, i've made a lot 
> of little tweaks here and there. now i would like to place the same 
> system on another computer. Whats the best way to go about that? could i 
> maybe piggyback another harddisk onto my current server and copy the 
> files over from the old drive to the new drive then place the new drive 
> in the new computer ???

If the 2nd system is exactly the same hardware-wise and the disks are
identical, you can connect the new disk, boot from your install CD
with 'linux rescue' at the boot prompt and:
dd if=/dev/xxx of=/dev/yyy  where xxx is the name of the existing
disk (sda for scsi, hd something for IDE, depending on connector
location) and yyy is the new drive.  Be careful to get the names
right...  This will take a long time, so go do something else while
it copies.  This method takes all the partitioning information along
so the drive should come up working in the new machine - you will
only have to run system-config-network to fix the name and IP address.

If the target disk or machine is different, you can still make a copy
but the technique is a little more complicated.

-- 
 Les Mikesell
   les at futuresource.com





More information about the K12OSN mailing list