On Fri, 2024-07-26 at 19:07 -0700, Gregorio Gervasio Jr. wrote: > > > > > > Patrick O'Callaghan writes: > > > My mistake. btrfs-replace is for replacing a whole disk as part > > of a > > BTRFS filesystem. In my case I have a vfat EFI partition, an > > ext4 /boot > > partition, and a BTRFS root+/home partition, so btrfs-replace > > isn't > > going to do it. > > > It's not? I had the same thing and just ran "btrfs replace" on > each > BTRFS partition. > The man page refers explicitly to "device" and the examples I've seen all use devices rather than partitions, but of course that may not mean anything. > For the other partitions, I used "dd" (the source partitions were > remounted as read-only first). Making the new disk bootable was a > separate problem, as you say. I used "rsync -av", which seemed to be fine. The problem with dd is that it will copy the UUIDs as well, which will then confuse the kernel until you fix it. poc -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue