| Summary: | drakboot crashed (grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Roland Gillard <roland.gillard> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doc-bugs, marja11, qa-bugs, thierry.vignaud, yvesbrungard |
| Version: | Cauldron | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-16.86-1.mga5 | CVE: | |
| Status comment: | |||
|
Description
Roland Gillard
2015-04-28 14:04:15 CEST
idem à l'installation (lancée UEFI/usb). déjà un grub2 (Ubuntu) sur sda2; qui fonctionne encore et me permet s'utiliser Mga5RC That's usually because one installed grub2-efi on a !UEFI machine or disabled UEFI in either firmware or VBox.... What's the ouput of the following commands: rpm -qa 'grub2*' ls /sys/firmware/efi Keywords:
(none) =>
NEEDINFO
Thierry Vignaud
2015-04-28 15:18:11 CEST
Summary:
drakboot crashed =>
drakboot crashed (grub2-install : erreur : /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist) 1) rpm -qa 'grub2*' grub2-2.02-0.git9752.18.mga5 grub2-mageia-theme-2.02-0.git9752.18.mga5 2) ls /sys/firmware/efi/ config_table efivars fw_vendor runtime runtime-map systab vars 3) par curiosité, j'ai regardé le contenu de /usr/lib/grub : ls /usr/lib/grub/ i386-pc/ x86_64-mageia/ donc pas de x86-64-efi :-< et juste un modinfo.sh dans i386-pc. pb de chemins ? C'est pourtant bien la version 64 bits qui est installée : urpmi grub2 Le paquetage grub2-2.02-0.git9752.18.mga5.x86_64 est déjà installé Comme je l'ai mentionné il y a déjà un grub2 d'Ubuntu / Mint dans la partition boot de l'UEFI (sda2): voici son répertoire EFI : ls EFI Boot/ HP/ Microsoft/ ubuntu/ Please try to comment in English (maybe also include the French version afterwards if you have to use an automatic translator and are not sure that everything is properly translated). Mageia has many contributors who do not speak French and are so far excluded from the conversation. The issue is you've installed grub2 instead of grub2-efi How did you install grub2? Grub2 was there by the installation of Mga5RC; But I did an update of Mga4 with grub installed. I shall 1) try grub2-efi and see the result 2) redo a clean installation Finally it was a luck that grub2 fails it would break the UEFI boot process I ll do this on Friday grub2 would only have been installed if UEFI was disabled at install time Could you attach your /root/drakx/report.bug*xz files? Summary:
drakboot crashed (grub2-install : erreur : /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist) =>
drakboot crashed (grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist) I got no such file ; but here is the content of the drakx directory : ls drakx auto_inst.cfg.pl ddebug.log install.log updates.log1 how to join the gz of this directory I also tried to use use grub2-efi after desinstalling grub2 but with a new crash ; halas I forgot the battery loader; so I cannot stay a long time on that computer.... As in my comment 7 and 9 I tried (twice) to launch grub2-efi from mcc The second time I was connected to internet and so a report was done : bug 15823. To summarize bug 15788 : The HP 15N is sold with a gpt HD of 1 To. No access to it. I installed mageia 4 on it and was able to boot on it with grub on an USB key. After that I Installed also Ubuntu which succeeded to add its boot process to the sda2 partition. I just updated the Ubuntu menu.cfg to add a mageia entry. I found that all this was not so confortable and used a Dell laptop without EFI When I saw that Mageia5 RC adds the EFI I decided to try it as they ask for testers. I put the installer with EFI on an usb key and succeeded to UPDATE mga4.1 to Mga5RC but it heritades the grub and grub2 without EFI; the Ubuntu EFI boot process continues to work; so I still have an access to Mga5RC. Using mcc I launched the grub installer but It was grub2 not grub2-efi so it crashed. I copied the directory /root/drakx on an USB key (see comment 8 , and 9) I also tried to use use grub2-efi after desinstalling grub2 but with a new crash ; You changed what we installed and was working. Switching from !UEFI to UEFI on upgrade is not supported. If you manually shoot yourself in the foot, we cannot help you. If you want a pure UEFI install, you must perform a new install. *** This bug has been marked as a duplicate of bug 15823 *** Status:
NEW =>
RESOLVED (In reply to Thierry Vignaud from comment #11) > If you want a pure UEFI install, you must perform a new install. Thierry, if you want to be able to reply this to users, this should be documented somewhere. Is it? I suggest adding a note to Release notes in EFI section. And also in our UEFI howto wiki page. CCing docteam. CC:
(none) =>
doc-bugs, qa-bugs To Roland: thanks for reporting those issues, it will at least allow us to improve user documentation. I understand one could have expected drakboot would be able to do the switch. I would have. No problem for me ! When I upgraded the Mga4.1, I thought it was a mistake but I went on in testing. with grub2 it was quite silly and the crash was a luck... with grub2-efi I thought I would be possible . My comment 7 contains the true method , a clean install The comment of Thierry <<You changed what we installed and was working.>> is not true : I was not really working so it is why I tried to test but not beginning by the best option. But it is intersting to test all the cases I can . Thank you for your work Release section updated here: https://wiki.mageia.org/en/Mageia_5_Release_Notes#UEFI and here: https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware#BIOS_or_UEFI_firmware section "Good to know. Is it OK? CC:
(none) =>
yves.brungard_mageia also added in the upgrade section indeed https://wiki.mageia.org/en/Mageia_5_Release_Notes#Using_the_traditional_Mageia_5_DVD_to_Upgrade CC:
(none) =>
marja11 I note : <<At last, there is something very important, check your ESP is mounted on /boot/EFI (This partition must exist, it has been created during the first installation, even not a Linux one). In the screenshot above, it is mounted on /media/windows. To do that, click on the ESP and on "Mount Point" and then select /boot/EFI/.>> in the second link of comment 15 Perhaps I shall retry my usb2-uefi test with a manual mount of that partition before launching drakboot via mmc. (In reply to Roland Gillard from comment #18) > I note : > > <<At last, there is something very important, check your ESP is mounted on > /boot/EFI (This partition must exist, it has been created during the first > installation, even not a Linux one). In the screenshot above, it is mounted > on /media/windows. To do that, click on the ESP and on "Mount Point" and > then select /boot/EFI/.>> > in the second link of comment 15 > > > Perhaps I shall retry my usb2-uefi test with a manual mount of that > partition before launching drakboot via mmc. YES it worked !!!! I just use mmc : 1. mount my EF partition in /boot/EFI 2 use the <<démarrage>> and <<démarrage du sytème>> it took around 1 minute and terminate without crashing or crying before reboting I was happy to see a /boot/EFI/EFI/mageia directory and it succeeded in booting Mga5RC !! So I am giving up my clean installation option (more than 2 hours spared) I would be very nice to embed the mounting of the EF partition in the installation process Resolution:
DUPLICATE =>
FIXED Good news. However, this bug was closed as a duplicate of bug 15823 so please do not change its status. *** This bug has been marked as a duplicate of bug 15823 *** Resolution:
FIXED =>
DUPLICATE (In reply to Roland Gillard from comment #19) > > > So I am giving up my clean installation option (more than 2 hours spared) > > I would be very nice to embed the mounting of the EF partition in the > installation process That is already the case and will work for both * fresh UEFI-mode installs * upgrading UEFI-mode systems However, it will not be added for upgrading a legacy/BIOS-mode Mageia install to the next Mageia version in UEFI-mode. * upgrading UEFI-mode systems more precise: * upgrading UEFI-mode mageia installs |