On Mon 14 Nov 2022 at 14:53:34 (+0000), 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?
You should check that the newer laptop boots the same way (looks like BIOS) and that you're partitioning the same way (probably MBR). Otherwise: UEFI booting would require an ESP (and complicate setting up Grub), GPT partitioning (with BIOS booting) would require a BIOS Boot partition. Cheers, David.