Can't restore GRUB2 via Boot-Repair-Disk, F27 and Win 10

asked 2018-01-12 22:55:28 +0000

robbiethek gravatar image

updated 2018-01-12 23:00:19 +0000

I'm having a very similar problem to the thread [SOLVED] [Can't restore GRUB2 via Boot-Repair-Disk](https://ask.fedoraproject.org/en/question/86357/solved-cant-restore-grub2-via-boot-repair-disk/).

This is from a Dell Optiplex to a Dell Optiplex everything the same just a larger hard drive on the targets. Only the Windows boot manager appears. Here is my pastebin logs.

First it says:

Windows is hibernated, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)

Well that's not true. At the moment Secure Boot is disabled. Windows 10 came installed with Secure Boot enabled and we installed Fedora 27 also in UEFI and the source machine works fine. Only clones fail to show the grub2 menu.

Then this error:

=================== grub-efi-amd64-signed purge cancelled
Please enable a repository containing the [grub-efi-amd64-signed] packages in the software sources of Fedora 27 (Workstation (mapper/lvm2-root). Then try again.

Well can't do that from the Boot-Repair-Disk as that's Ubuntu/Debian.

This might be a red herring:

** (zenity:18791): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

So is this how I should do the repair using rescue mode? I tried this on another machine, didn't work.

=================== Suggested repair
The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of mapper/lvm2-root, using the following options:        sda6/boot, sda7/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file

How is this following achieved if we used UEFI?

=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda7/efi/.../grub*.efi file!

Edit: The original Clonezilla restore errors were:

find: 'tmp/efi_sys_part.wHbe4I/EFI/': No such file or directory
find: 'tmp/efi_sys_part.wHbe4I/EFI/': No such file or directory
find: 'tmp/efi_sys_part.wHbe4I/EFI/': No such file or directory
EFI boot file in partition /dev/sda1 7 was _NOT_ found. Program terminated!!

The "7" is partition /dev/sda7 where /boot/efi is. And the error was actually a line break below.

edit retag flag offensive close merge delete