I have two identical HDD's (WD800BEVE). The first one (sda) was automatically formatted and partitioned by Salix OS during install. It is the one that is currently in my laptop. The second HDD (sdb) was blank -- I know because I wrote zeroes over the entire disk. I attached it to my laptop via enclosure, went init 3, and used the following command to make it a bootable identical copy of sda:
Code: Select all
# dd if=/dev/sda of=/dev/sdb bs=10M& pid=$!
Code: Select all
# watch -n5 "kill -USR1 $pid"
So now my question. Considering this:
Code: Select all
dennis[~]$ cd /
dennis[/]$ ls
bin dev home lost+found mnt proc sbin sys usr
boot etc lib media opt root srv tmp var
dennis[/]$ cd media/disk/
dennis[disk]$ ls
bin dev home lost+found mnt proc sbin sys usr
boot etc lib media opt root srv tmp var
Code: Select all
rsync -r -t -p -o -g -v -i --progress --delete -l -H -s / /media/disk/


