I wanna migrate my Kubuntu 21.04 x64 OS from my current HP laptop to my new one.
It's currently in /dev/sda5 EXT4 partition on a dual-boot machine (w/ Windows 10 21H1 on /dev/sda3 NTFS) using GRUB
AFAIK I have 2 possibilities here:
- Backup the entire partition using a 3rd party Windows app (e.g Acronis true image backup) create an EXT4 partition with 67GB+ disc space (w/ a linuxswap partition =RAM_SIZE of the new machine) and restore the EXT4 partition to that disc space
- from rootfs (~/) backup all the apps,settings,configs (essentially all the installations & customizations I've made from the previous 21.04 installation including my user files (/home)) install a fresh Kubuntu 21.04 OS restore/override it with this backup
There are two problems here one for each option:
- Can Kububtu detect and install the the new hardware on boot from network repos or Kubuntu bootable USB?
- IDK if it's possible to create this kind of backup and if I can override a fresh one with it
Maybe none of the options above is practical or Maybe there are another options, Any suggestion are welcomed
Thanks
There are so many variables, that there's no easy answer.
However, the BEST answer would be to do a clean Kubuntu install, reinstall your apps, and restore your files from /home to your fresh install. This would provide the BEST long-term results.
Another way would be to clone your entire disk, Windows and Kubuntu, to the new disk, adjust partition sizes if required, and make adjustments if required. There's a good chance that Windows will require repairs to be able to properly boot.
Messing with Windows backups, and trying to piece together what you had before is only for the very experienced user, and is still subject to problems.
Do a clean Kubuntu install.
The easy way to reinstall your apps is to use
Synaptic
download script...The easy way to copy over your /home files is to back them up to a flash drive or external disk, and restore them on the new system.
Your swap shouldn't be a swap partition equal to RAM size. It should be a /swapfile sized to your configuration and usage pattern. Typically 4G is enough.