mkdir /tmp/rootfs mount /dev/sdb2 /tmp/rootfs rsync -avzh /tmp/rootfs /home/$USER/rootfs sync umount /dev/sdb2