New answers tagged external-hdd
I will just provide a short answer because I think this is being overthought. If you read the main kernel wiki about the btrfs (sub-)commands, you will find that there are two commands for making a backup and restore. Just in case, this means that it is not designed to be a backup, but to be an snapshot filesystem, with the idea of rolling back if needed, ...
Use grub-install. If your external drive is /dev/sdb and GRUB images are in /boot/grub/ of its first partition, typically you can do as follows: mount /dev/sdb1 /mnt grub-install --boot-directory=/mnt/boot /dev/sdb
Make sure you've cloned the original disk's master boot sector and whatever is at the beginning of the disk, by doing something like dd if=/dev/sda of=/dev/sdb bs=512 count=2048 - assuming sda is the original drive and sdb is the mirrored drive, tune that as necessary. Then try simply unplugging the current disk and plug the mirrored disk in its place. ...
Top 50 recent answers are included