Bug 8959 - Live DVD install leaves a crippled grub2 'installed'
Summary: Live DVD install leaves a crippled grub2 'installed'
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 416
  Show dependency treegraph
 
Reported: 2013-02-04 16:05 CET by Barry Jackson
Modified: 2013-02-26 07:44 CET (History)
1 user (show)

See Also:
Source RPM: draklive
CVE:
Status comment:


Attachments

Description Barry Jackson 2013-02-04 16:05:46 CET
Description of problem:
This is strange.

Doing a clean install from the Live DVD and only asking for default grub legacy, I find that rpm -qa shows that grub2 is installed.

If grub2 was installed correctly then /boot/grub2/i386-pc/core.img should exist, but it's missing.

Creating the file using:
grub2-install --setup-grub=/bin/true /dev/sda7
does work, so the grub2 binaries are there, however, when attempting to boot using the resulting core.img it just drops to a grub prompt.

OK so I try to re-install grub2 using urpmi --replacepkgs grub2 and I am told that grub2 is in the rpm database but not installed - WTF??

So, I urpme --test grub2 and it's possible - so I do it.

Then:
urpmi grub2

Re-boot and it works fine with the new core.img generated during the (re)installation of grub2.

So, why is grub2 'installed' in some broken ghostly fashion on installation from Live when it's not asked for?


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Manuel Hiebel 2013-02-05 23:09:39 CET

Component: Installer => RPM Packages
Blocks: (none) => 416
Source RPM: (none) => draklive

Comment 1 Thierry Vignaud 2013-02-26 07:44:31 CET
Fixed with 15.21 tools that should be uploaded today

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED


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