EFI support in the kernel

Ken D'Ambrosio ken at jots.org
Sun Jan 26 14:00:39 UTC 2020


On 2020-01-26 08:44, Volker Wysk wrote:
> The problem is, I have a new computer, which runs UEFI. My old one is
> BIOS/non-UEFI. Now I have to migrate my system.
> 
> I want to avoid to install and configure everything again, from
> scratch, because there are many things which I've installed, which you
> can't install easily with apt. Such as my Wiki, my Nextcloud, my
> Dovecot mail server...

Ah, now I understand your problem.  What I would try next time (or, 
maybe, this time?) is:
* Install the OS on your new system
* Boot that system with boot media of some sort
* Mount your root partition
* Delete everything in it EXCEPT:
  - /boot/ hierarchy
  - /var/lib/modules/ hierarchy
  - /etc/fstab
* Copy everything from your old machine to the new one (but not 
overwriting /boot/, /var/lib/modules/ or /etc/fstab -- maybe move them 
somewhere safe during copying, then delete the directories from the old 
system, and replace them with the backed-up ones)
* Reboot, and see what happens!

That just might do the trick.

-Ken




More information about the ubuntu-users mailing list