*Cloning Linux OS over the network * with Fedora

Download boot.iso from for example:

http://mirrors.eu.kernel.org/fedora/releases/20/Fedora/x86_64/os/images/boot.iso or

Put boot.iso on a usb stick , in same way that we put live images, describe in USB Booting : usb must be on
vfat or else format usb with:

  mkfs.vfat /dev/sdb1

  /usr/bin/livecd-iso-to-disk boot.iso /dev/sdb1

for new computer download a Live cd and do a second usb stick.

Boot old computer with rescue disk and go to shell console
Boot new computer with Live usb, and as root install gparted
yum install gparted (must have internet at this point or copy gparted.x86_64.rpm to usb disk )
both computers much have network and be in same LAN.

  dump -0 -f - /mnt/sysimage/ | ssh root@ " cd /mnt/disk ; cat - | restore -r -f - "
  dump -0 -f - /mnt/sysimage/boot | ssh root@ " cd /mnt/disk/boot ; cat - | restore -r -f - "
  it also works dump in remote machine just an example:
  ssh root@ "dump -0 -f - / " | cat - > fullback.dump

  cd /mnt/sysimage/home/
  ../../usr/bin/du . --max-depth=1 -m | sort -n
  vi exclude
  ../usr/bin/du . --max-depth=1 -m -X exclude | sort -n
  tar czvf - . -X exclude | ssh root@ " cd /mnt/disk/home ; cat - | tar zxvf - "

After this, almost, we just need change /etc/fstab to update UUID=
and also update UUID of disks on /boot/grub2/grub2.conf
and do:
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda (in this case hard disk drive is /dev/sda)
Note after reboot. if something fails with grub, happens a lot, we need use rescue usb stick fix, we should already may do:

  chroot /mnt/sysimage/

and finally clean (remove) /etc/udev/rules.d/70-persistent-net.rules and 70-persistent-cd.rules
to udev regenerate net and cd-drives, with same ids. I think is no longer need .

Reference: http://www.linuxfocus.org/English/March2005/article370.shtml