On 18/08/2020 12.11, Andrei Borzenkov wrote:
18.08.2020 12:55, Ralph пишет:
On Mon, 17 Aug 2020 09:06:46 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
How best to move the 15.1? I have an available empty 128G usb stick if an intermediary device is needed.
Assuming you have enough space you could simply run
btrfs replace start old-partition new-partition /
and after it has finished reinstall bootloader on new device. I am not sure what happens when it is interrupted so you certainly are advised to make backup first and probably test it in VM.
Thanks for reply Andrei (and jdd). I won't have time, until next weekend at least, to get back to this project. After 'google-time' on the subject, this is starting to look like it is more complicated, and time-intensive too, both in planning and in actual transfer, than I had anticipated :(
Well, you need to move data from old to new partition, so you need at least as much time as required to read data from old partition and write it to new partition. What did you expect?
He refers to the time needed because of your advice: "I am not sure what happens when it is interrupted so you certainly are advised to make backup first and probably test it in VM." :-) Question. Can't plain "dd" be used? Sure, the destination partition is bigger, but surely it can be expanded afterwards. And it gets the same UUID, but it is on a different computer. As long as the two disks are never connected to the same computer, no problem. Another possibility that occurs to me is using "clonezilla", which may take care of the expanding, and perhaps (I don't remember) changes the uuid. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)