I've got an 8.04 Mythbuntu installation I need to clone to another disk. Unfortunately the disk it's on has a few errors, so dd aborts when I try the usual
dd if=/dev/sda of=/dev/sdb
Last night I discovered the conv=sync,noerror option for dd (and it reported 2 errors), but when the transfer was done the disk wouldn't boot. I had gparted check the disk (it ran "e2fsck -f -y -v /dev/sdb1"), and after a few minutes it reported an error and crashed - I couldn't get the error info because the screen was frozen. I then tried it again on just the boot partition (instead of the entire disk) and got the same results. Tonight I'll try dd one more time and check the disk outside of gparted so I'll (hopefully) at least see any error messages.
But my question is: Is there another way to clone this drive (including keeping the same UUID) besides dd? I wouldn't mind copying it file-by-file (and that way I could see if there are any files corrupted by the errors dd sees), but I'm not sure how to do that and keep it bootable and keep the same UUID. I know I could reinstall from scratch, but after all the customization and tweaking I've done that is a very last resort.