[Server-devel] Cloning

Martin Langhoff martin.langhoff at gmail.com
Fri Aug 13 08:46:04 EDT 2010


Hi David,

super brief -

- get the machine in 'single user mode' ("init 1" on the commandline will work)
- plug new disk in, setup the partition table, and the filesystems
- rsync / and /library to the temp mountpoints
- remove hardware-specific files: /etc/udev/rules.d/70-persisntent-net.rules
- fixup /etc/fstab to match the UID of the new filesystems
- run grub targetting the new disk
- move new disk to new machine

that will _clone_ the XS so it will keep a lot of identifiers (and all
the data) from the original XS.

Do NOT use this technique for "cloning a base install". Use
kickstart/anaconda methods to automate many-machine rollouts.

cheers,


martin

On Fri, Aug 13, 2010 at 6:22 AM, David Leeming
<david at leeming-consulting.com> wrote:
> Are there any recommended ways of cloning an XS installation? We have tried
> Ping and Reflect but with difficulty.
>
>
>
> David Leeming
>
>
>
> _______________________________________________
> Server-devel mailing list
> Server-devel at lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>
>



-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list