Quantcast
Channel: Active questions tagged clonezilla - Super User
Viewing all articles
Browse latest Browse all 52

EFI boot option disappears after backingup or restoring efi partition with clonezilla

$
0
0

I am using clonezilla to backup and restore a laptop. It is imaged with a flavor of Debian linux (bullseye), the lay out of the disk after installing the OS is:

sda/sda1 - EFI partitionsda2 - grub partition for OSsda3 - OS lvm /home, root, swap_1, var

If I backup or restore sda1 (or all of sda), the EFI boot entry disappears.The backup procedure seems to work fine. I am using device-image option and ssh the results to another computer. The restore also looks fine, after applying it I can see the partition table looks fine and the image is there. The GUID in the grub.cfg file looks fine to me as well

I can boot into the OS if load gparted and select Local operating system. once booted I can fix the restored image by running grub-install --efi-directory=/boot/efi

Or I can I can fix it with a live cd by setting the boot order with evibootmgr:

## before# efibootmgr BootCurrent: 0001Timeout: 0 secondsBootOrder: 0001Boot0001* UEFI: NameOfUSBDrive with gpartedBoot0003* debian## after# efibootmgr -o 3BootCurrent: 0001Timeout: 0 secondsBootOrder: 0003Boot0001* UEFI: NameOfUSBDrive with gpartedBoot0003* debian

After that, it boots up to the install OS. I think it might be the hardware.

laptop info:Dell Latitude 3190, UEFI boot mode, secure boot disabled


Viewing all articles
Browse latest Browse all 52

Trending Articles