On 11/14/22 06:53, Ottavio Caruso wrote:
I have an old Thinkpad on its last legs which I cannot shutdown (long story). Then I have a slightly better Thinkpad with similar hard drive. Debian is split into three partitions (root. home and swap)/ I'll recreate a similar partitioning from a live usb on the newer laptop, then I'll mount the root partition, connect to the old laptop via ssh, copy the data on the new drive, reinstall grub and modify fstab. Will this work?
probably, depending on your method.I frequently copy the desired partitions (without modification) with Gparted to a separate physical drive...
installing and updating GRUB is the only stumbling block.