2

I'm interested in moving my Kubuntu 18.04.02 partitions to my new SSD.

I've done the required reading (Moving to an SSD), but am uncertain about moving the EFI partition.

I'm aware that an EFI partition can be created using gparted, and have already allocated 500MiB for it, but haven't set the flags yet for it on my SSD.

I have a standard install, but my SSD is 500GiB smaller than my original drive, so, as far as I know, I can't use clonezila to transfer everything over. This isn't so much of a problem for me because I use BTRFS backups and have simply sent all the data for the subvolumes over.

Can I simply delete the EFI partition and wipe /dev/sda and set the boot and EFI flags on /dev/sdc1 (My new EFI partition on SSD) and run boot-repair, or do the typical grub-repair procedure, or is there more complexity here?

I've just never messed around with the EFI partitions and don't want to mess up my system for a few days.

  • The entries in your UEFI are tied to your ESP by the GUID of the partition. You should houseclean old UEFI entries after creating new entries. You can use efibootmgr see man efibootmgr You can reinstall grub, but Ubuntu's grub likes to install to drive seen as sda, it will need a --force parameter. Boot-Repair should work to create new entries. You can have one ESP per drive. Example: askubuntu.com/questions/668506/… Examples of deletion: ubuntuforums.org/… – oldfred Feb 22 at 4:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.