But seriously, yesterday I cloned my main partition to a new laptop into an LVM volume on LUKS. Because I did not have any way of putting the new NVMe and old SATA SSD into one machine, I just used netcat over an ad hoc network.
nc -l 10000 > /dev/main/root
on the new Laptop and
cat /dev/sda3 | nc 10.31.69.1 10000 -q 0
on the old one. Worked perfectly. Now do that on Windows with builtin tools in live boots.
I just noticed I did not fully expand the fs on the target machine after shrinking it on the source machine to be sure it fits. No problem, growing ext4 file systems with resize2fs (indirect dependency of linux and base) works on mounted fs’ too, the Kernel just needs to be newer than 2.6 (so since 2003).
Took less than 1 second and works flawlessly, live. Conkys fs_free just jumped from 20 to 76. Still time to clear my caches.
I’d guess many distros would’ve had errors with preinstalled and configured helpers. Debugging them would be a pain
Gentoo, LFS, Arch etc. are installed manually, so one typically knows their system very well, including packages and configs they might have to hard configure interfaces etc. in
The rate was around 100MB/s. So I think the bottleneck was probably the read/write speeds of the SSDs, considering I have ~900Mbit/s down from speedtest.net, and this setup removed every hop except the old and new Laptops Gigabit Lan Port and the Gigabit patch cable between them. But with larger files/partitions over the internet this would probably help
Wow, that sums up my Linux life pretty well actually
Does your Windows do this? *doesn’t crash*
But seriously, yesterday I cloned my main partition to a new laptop into an LVM volume on LUKS. Because I did not have any way of putting the new NVMe and old SATA SSD into one machine, I just used netcat over an ad hoc network.
on the new Laptop and
cat /dev/sda3 | nc 10.31.69.1 10000 -q 0
on the old one. Worked perfectly. Now do that on Windows with builtin tools in live boots.
More like do that in Windows with any tools. It doesn’t like being moved to different hardware one bit.
I just noticed I did not fully expand the fs on the target machine after shrinking it on the source machine to be sure it fits. No problem, growing ext4 file systems with resize2fs (indirect dependency of linux and base) works on mounted fs’ too, the Kernel just needs to be newer than 2.6 (so since 2003).
Took less than 1 second and works flawlessly, live. Conkys fs_free just jumped from 20 to 76. Still time to clear my caches.
The only problems with my Arch install were
Btw detected
I’d guess many distros would’ve had errors with preinstalled and configured helpers. Debugging them would be a pain
Gentoo, LFS, Arch etc. are installed manually, so one typically knows their system very well, including packages and configs they might have to hard configure interfaces etc. in
Next time you could even add gzip or some other compression and save yourself a bit of time and bandwidth.
The rate was around 100MB/s. So I think the bottleneck was probably the read/write speeds of the SSDs, considering I have ~900Mbit/s down from speedtest.net, and this setup removed every hop except the old and new Laptops Gigabit Lan Port and the Gigabit patch cable between them. But with larger files/partitions over the internet this would probably help