Re: Fedora 32/33 livedisks do not boot on M$ system(s)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 03, 2020 at 11:17:44AM +0200, Marius Schwarz wrote:
> Am 02.10.20 um 11:12 schrieb Petr Pisar:
> > On Thu, Oct 01, 2020 at 11:07:28AM -0700, Samuel Sieb wrote:
> >> On 10/1/20 5:52 AM, Marius Schwarz wrote:
> >>>> Is it possible to boot from the stick and then perform a grub-install
> >>>> with an old grub?
> >>>>
> >>> This attempt failed too:
> >>>
> >>> #  grub2-install /dev/sda
> >>> grub2-install: Fehler: /usr/lib/grub/x86_64-efi/modinfo.sh existiert
> >>> nicht. Bitte geben Sie --target oder --directory an.
> >>>
> >>> and that file seems not to be part of any package. There is only one for
> >>> "i386-pc".
> >> You can't (and must not!) use grub2-install on an EFI system.
> > Of course you have. How else would you get GRUB EFI executable onto the boot
> > partition and register it into boot environments?
> >
> > But the correct invocation for EFI systems is different. You just use
> > "grub2-install" without the disk device name.
> If you do not state the devicename, how does grub choose the correct
> drive? I don't want to overwrite the bootloader on the ssd.

  There is only one correct ESP partition in EFI system to install
bootloader to. You can read the code finding it at
https://github.com/rhboot/grub2/blob/master/util/grub-install.c#L1029


-- 
Tomasz Torcz                “Funeral in the morning, IDE hacking
tomek@xxxxxxxxxxxxxx         in the afternoon and evening.” - Alan Cox
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux