Bug 8959

Summary: Live DVD install leaves a crippled grub2 'installed'
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: draklive CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 416    

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