Bug 16705 - drakboot crashed (grub2-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory)
Summary: drakboot crashed (grub2-install: error: /usr/lib/grub/i386-pc/modinfo.sh doe...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 16239 16709 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-04 23:04 CEST by gael koskhun
Modified: 2023-04-05 04:56 CEST (History)
6 users (show)

See Also:
Source RPM: drakxtools-16.104-1.mga5
CVE:
Status comment:


Attachments
Requested files (942.88 KB, application/gzip)
2015-09-06 22:32 CEST, gael koskhun
Details

Description gael koskhun 2015-09-04 23:04:05 CEST
The "drakboot" program crashed. Drakbug-16.104 caught it.

Je passais de grub à grub2 dans "Configurer le démarrage" du Centre de contrôle Mageia

grub2-install failed: grub2-installà: erreurà: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
	...propagated at /usr/lib/libDrakX/any.pm line 268.
	...propagated at /usr/libexec/drakboot line 64.
Perl's trace:
drakbug::bug_handler() called from /usr/libexec/drakboot:64

Theme name: oxygen-gtk
Kernel version = 3.19.8-server-3.mga5
Distribution=Mageia release 5 (Official) for x86_64
CPU=Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Comment 1 Marja Van Waes 2015-09-05 22:31:41 CEST
Hi Gael

This looks like a duplicate of bug 16239

However, since the requested information there was not given, I'll leave this bug open, knowing that you'll provide it :-) :

Please attach (do not paste) the following files:

* the files Thierry asked for in bug 16239:

> /root/drakx/report.bug.xz
> /boot/grub2/install.sh
> /tmp/grub.lst
> 
> 
> The last file being the result of running the following command:
> rpm -qa 'grub2*' > /tmp/grub.lst

* And the file journalctl.txt that is the result from (running as root):
  
  journalctl --since="2015-09-04 22:00:00" --until="2015-09-05" > journalctl.txt

Please ajust 22:00:00 to an earlier time if you started drakboot earlier) 


Note: You won't have /root/drakx/report.bug.xz if you used a Live iso to install from.
Also, if your install is an upgrade from Mageia 4 or earlier, then please attach the /root/drakx/report.bug from the correct date instead, after compressing it with xz

Thanks :-)
Marja

Keywords: (none) => NEEDINFO
CC: (none) => marja11, thierry.vignaud, zen25000

Comment 2 Marja Van Waes 2015-09-06 08:44:28 CEST
Hi Gael

Thx for the effort you made to supply the needed information, so for the files you attached in attachment 6992 [details] of bug 16709 :-)

I'll close that bug as duplicate of this one.

For next attachment, please attach it to this bug, so to bug 16705, after clicking on the "Add an attachment" button just above your Description of this bug made on 2015-09-04 23:04:05 CEST 
Oui, c'est bien caché ;-)  (Yes, it is hidden well ;-) )

The files in attachment 6992 [details] do not match the requested ones, though. 

You attached:

device.map
fstab
grub.cfg
lilo.conf.unused
lspcidrake-v.blkid
menu.lst
modprobe.conf

Asked for were:

* the files Thierry asked for in bug 16239:

 /root/drakx/report.bug.xz (if it exists and has the correct date)
 /boot/grub2/install.sh
 /tmp/grub.lst ...That file being the result of running the following command:
    rpm -qa 'grub2*' > /tmp/grub.lst 

* And the file journalctl.txt that is the result from (running as root):

journalctl --since="2015-09-04 22:00:00" --until="2015-09-05" > journalctl.txt

If you have problems understanding what I write, then please ask for help in the French forums
Si tu as des problèmes a comprendre ce que j'écris, stp demande de l'aide sur
http://www.mageialinux-online.org/forum/

In Bugzilla we can only write English, because many packagers and developers do not speak French (the Grub2 maintainer is English).

Cheers,
Marja

Summary: drakboot crashed => drakboot crashed (grub2-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory)

Comment 3 Marja Van Waes 2015-09-06 08:44:39 CEST
*** Bug 16239 has been marked as a duplicate of this bug. ***

CC: (none) => distux

Comment 4 Marja Van Waes 2015-09-06 08:45:03 CEST
*** Bug 16709 has been marked as a duplicate of this bug. ***
Comment 5 Marja Van Waes 2015-09-06 09:06:11 CEST
(In reply to Marja van Waes from comment #2)

>  /root/drakx/report.bug.xz (if it exists and has the correct date)

The "correct date" being the date when you installed Mageia 5 or upgraded from Mageia 4 to Mageia 5
Comment 6 gael koskhun 2015-09-06 22:20:25 CEST
Hello,
Sorry, i didn't find the first bug-report and sent it again with files asked in the crash-report.
Here are the files you asked above.
Thank you very much for your help.
Best regards
Gael
Comment 7 gael koskhun 2015-09-06 22:32:02 CEST
Created attachment 6998 [details]
Requested files
Comment 8 Barry Jackson 2015-09-08 12:43:18 CEST
AFAICT This is a PC-BIOS system that was originally installed with grub legacy.
It has no GPT drives but for some reason on Sept 4th grub2-efi was installed.
I cannot as yet figure why.
I think that probably:
urpmi grub2
(accepting to uninstall grub2-efi when asked)
would fix this, but maybe we need to investigate further how this happened?
Comment 9 gael koskhun 2015-09-08 17:46:28 CEST
Hello,
thank you for your feedback.
I did some modifications at this date. I flashed an update rom for my motherboard asus p67 sabertooth (SABERTOOTH-P67-ASUS-2103.ROM) and i also installed mint 17.2 on an other partition of the second hard drive. I don't remember wich one i did first.
I think the bios update allowed the motherboard to boot uefi.
If this is the cause of the trouble, do i have to reinstall my OS's in UEFI or is there a way to fix it?
Thanks in advance for your help.
Best regards,
Gaël
Comment 10 gael koskhun 2015-09-08 17:57:09 CEST
Btw your fix is working and if i good remember i actually did install of grub-efi thinking enabling the new functionnality of the fresh flashed motherboard...
I suppose there is no way without reinstalling the OS?
Comment 11 Barry Jackson 2015-09-08 18:27:10 CEST
(In reply to gael koskhun from comment #10)
> Btw your fix is working and if i good remember i actually did install of
> grub-efi thinking enabling the new functionnality of the fresh flashed
> motherboard...

Ah OK that explains it.

It's not that simple unfortunately :)

> I suppose there is no way without reinstalling the OS?

Not easily no.

If you really want to switch to UEFI then I would just backup all that is important to you and start again from scratch.

You may find this useful:
https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware

Closing this bug then as invalid.

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 12 marian marian 2022-10-05 12:02:42 CEST Comment hidden (spam)

CC: (none) => marianruliarulia

Comment 13 Dwayne Mann 2023-04-05 04:56:14 CEST Comment hidden (spam)

CC: (none) => financecajole


Note You need to log in before you can comment on or make changes to this bug.