Hi,
You need to migrate the whole disk using the old laptop (mount the new disk into the old laptop). It's a very easy 2 step procedure:
1. first copy all data using rsync with the following command (if the whole disk, then omit the exclude part)
2. second step is to restore grub on the new disk using boot-repair for example. A good guide is available here:
https://help.ubuntu.com/community/Boot-Repair
More scenarios are available at this link (it is a guide for migrating to SSD disk, but it doesn't matter at all - the procedures for migrating data are the same): https://radu.cotescu.com/migrating-your-...ssd-drive/
You need to migrate the whole disk using the old laptop (mount the new disk into the old laptop). It's a very easy 2 step procedure:
1. first copy all data using rsync with the following command (if the whole disk, then omit the exclude part)
Code:
sudo rsync -a -v --exclude "excluded_folder_name_or_pattern" /media/<source_uuid>/ /media/<destination_uuid>
2. second step is to restore grub on the new disk using boot-repair for example. A good guide is available here:
https://help.ubuntu.com/community/Boot-Repair
More scenarios are available at this link (it is a guide for migrating to SSD disk, but it doesn't matter at all - the procedures for migrating data are the same): https://radu.cotescu.com/migrating-your-...ssd-drive/