rescatux / rescapp

Rescapp - Rescatux's wizard for rescue tasks
GNU General Public License v3.0
32 stars 15 forks source link

Add rename /efi/EFI/distroname option #8

Open o-inominavel opened 5 years ago

o-inominavel commented 5 years ago

no clue how, but after trying to restore grub on zorin, 'ubuntu' was a folder in EFI functionality

adrian15 commented 5 years ago

The description of this bug is the following one. It seems there is a bug somewhere in Ubuntu where the presence of /efi/EFI/ubuntu folder is not checked.

So something like:

cp /some/path/to/some/efi/file.efi /efi/EFI/ubuntu

is run which creates a binary file in /efi/EFI/ubuntu .

Then every other tool like grub-install expect /efi/EFI/ubuntu to be a folder and EFI installations / grub installations fail.

adrian15 commented 5 years ago

So a nice addition to rescapp might be an option that detects that wrong files which should be folders and rename them. Or maybe just add that behaviour to the Easy GNU/Linux boot fix option.