How to clone a Linux box ======================== * Gather harddrive information from original system using fdisk * Boot new system off of boot cdrom * Make partitions and file systems on new system equal to size or orignal systems used space. fdisk /dev/sda * Make the file system on the new partitions mkfs.ext3 /dev/sda1 * Mount the partitions: mount /dev/sda1 /mnt * Copy the data from the old system to the new system: rsync -av --links --hard-links --numeric-ids --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* / root@172.16.1.33:/mnt * Edit important config files that may have change from the old system to the new system: /mnt/grub/boot/menu.lst /mnt/grub/boot/device.map /mnt/etc/fstab * Install boot loader (GRUB) grub-install --root-directory=/mnt /dev/sda * reboot, you are done.