* On 2022 14 Nov 09:16 -0600, 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?

Yes.

I've done this many times and documented it:

https://www.n0nb.us/blog/2012/11/ghost-a-partition-contents-with-rsync/

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature

Reply via email to