Re: use dd to copy 1 hd to another?
check out grub-install.
If the BIOS can boot USB, then grub-install should be able to boot it.
NOTE: the disk identification may cause problems if, for instance, you needed to remove an internal disk (I have hot-plug disks on SATA), then it is possible that the root disk (hd0,0) by default points to the /boot partition, may/will change. requiring you to change it using the grub shell to boot a USB.
A follow up on rsync - some notes I've had with it..
rsync will do the job... but if you have many many files (passing the millions, so this usually isn't an issue)....
rsync has to compare the entire directory tree being backed up with the tree on the destination before it starts copying the first file. When I worked with large file systems having millions of files and many subdirectories I found that this can take several days. Even when rsync is being restarted, this step must complete before the first file new file is copied. It is faster to use an incremental copy - that way new files are copied without needing a directory analysis first. The downside is that this depends on the application doing the copy as to whether it can handle deleting files that have been removed.
Last edited by jpollard; 3rd May 2011 at 12:44 PM.