Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloneZilla seems to skip EF02 grub partition #1

Open
Redsandro opened this issue Mar 30, 2022 · 1 comment
Open

CloneZilla seems to skip EF02 grub partition #1

Redsandro opened this issue Mar 30, 2022 · 1 comment

Comments

@Redsandro
Copy link

This guide helped me out when I restored a CloneZilla image from a (now broken) SSD M.2 device to a (new) NVMe M.2 device. The latter would only boot over EFI.

Be advised that upon creating a new CloneZilla image, the EF02 partition is not backed up.

I don't know how this works. I didn't know Grub writes data between the partitions, and I don't know if that would have been backed up with CloneZilla when the storage was still MBR. But I do know the EF02 partition is not in the list of backed up partitions.

So maybe there could be a caveat or footnote to indicate that upon restoring a backup made using "intelligent" tools like CloneZilla, ocs-sr, or perhaps some of the commercial tools out there, may skip the raw unformatted EF02 partition used by GRUB, and after restoring a disk image, one would be required to redo the grub installation from a chroot environment, e.g. the following steps:

  • 2.3. Mount the remaining filesystems
  • 3.1. Execute a shell in a “chroot” environment
  • 3.3. Mount remaining disks
  • 3.4. Install grub-efi

There are a lot of elements here I don't fully understand, but perhaps someone who understands Grub better can consider if this issue is moot or good.

@getreu
Copy link
Owner

getreu commented Aug 10, 2022

Thank you for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants