In the following howto i assume that sda is your source drive and sdb is your target drive.. please make sure not to mix this up in your setup! also i assume that your operating system disk has three partitions, sda1 as /boot, sda2 as swap and sda3 as /
mkdir /tmp/source mkdir /tmp/target
mount /dev/sda3 /tmp/source mount /dev/sda1 /tmp/source/boot mount /dev/sdb3 /tmp/target mkdir /tmp/target/boot mount /dev/sdb1 /tmp/target/boot
rsync -aHvx --numeric-ids /tmp/source /tmp/target
mount --bind /dev/ /tmp/target/dev mount --bind /sys/ /tmp/target/sys mount --bind /proc/ /tmp/target/proc chroot /tmp/target grub-install /dev/sdb update-grub grub find /boot/grub/menulst
(if you have an own partiton for boot, you can leave boot away in the above command)
root (hd0,0) setup (hd0)
dracut