On Mon, Oct 5, 2020 at 12:59 PM Samuel Sieb <sam...@sieb.net> wrote:
>
> On 10/5/20 11:21 AM, Marius Schwarz wrote:
> > Am 04.10.20 um 21:01 schrieb Samuel Sieb:
> >> On 10/4/20 9:36 AM, Marius Schwarz wrote:
> >>> And still,we do not know why the f33 livedisc does not boot at all when
> >>> inserted early
> >>> AND
> >>> why grub-install /dev/USBDRIVE  (correct devicename ofcourse ) is
> >>> overwriting the ssd boot setup, instead of the usbdrive bootconfig.
> >>
> >> You can't use "grub2-install /dev/USBDRIVE", that's for non-EFI
> >> systems.  And as Chris explained, you can't use "grub2-install" either
> >> or it will mess things up badly.
> >
> > So, this is a loose-loose-situation.
> >
> > Still, how the heck could the system be installed in the first place,
> > because it was booted with secure-boot enabled? :)
>
> I don't understand why you think that would be a problem.  You left out
> the following line.
>
> >>    If you have the usb drive EFI partition mounted at /boot/efi, then
> >> re-installing "grub2-efi" should fix the grub install on your usb drive.
>
> When Fedora is installed on a UEFI system, the "grub2-efi" package is
> installed which puts grub on the EFI partition where it should be.  If
> you want to fix the grub install, then you need to reinstall that
> package with the right EFI partition mounted at /boot/efi.

Right and this cannot be done with a USB stick imaged using dd (or
variant including Fedora Media Writer) from a Fedora produced ISO
image. And that's because that image is a read-only ISO 9660 file
system. Hence my advice in related bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1883609#c30

In this case  you can replace it by just copying a substitute
grubx64.efi to the proper location on the USB stick... which might be
EFI/BOOT, I'd have to poke it with a stick to find out.


-- 
Chris Murphy
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to