Bug 8871

Summary: The boot loader does not update the existing /boot/grub/menu.lst
Product: Mageia Reporter: Christian C <bugzzzz>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, mnaud.free, philippel, pikachu17997, zen25000
Version: 2   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Christian C 2013-01-28 18:38:22 CET
Description of problem:
I installed Mageia 2 on the 2nd partition sdb5 of my 1st SATA hard disk.
The 1st partition sdb1 contains a mandriva-2011 installation.
sda is a PATA hard disk.

After reboot, the grub screen does not display any entry concerning my fresh installation of mageia.

I checked the content of sdb5 and found that a /boot/grub/menu.lst exist on it and is updated with the different boot options (linux, linux-nonfb, failsafe) for my partition sdb5. But the hard disk is wrongly identified : it is identified as "(hd2,4)" instead of "(hd0,4)" ; my operational mandriva installation identifies sdb1 as "(hd0,0)".

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


How reproducible:
At boot

Steps to Reproduce:
1. install mageia 2 on the second partition of a multiboot
2. restart the system
3.
Comment 1 mnaud mnaud 2013-04-08 21:25:10 CEST
same behaviour under mageia 3 beta 4

grub is not configured at all, only lilo configuration file is create or altered.

CC: (none) => mnaud.free

Comment 2 Philippe Leblanc 2013-04-08 22:51:02 CEST
I'm not sure how grub is handled when you have mutiple instances of linux installed. You might be currently setup to use the grub off of the Mandriva partition, and not Mageia's grub. Try booting into mandriva and run "update-grub". You can also run "os-prober" to see if you're detecting your Mageia partition.

CC: (none) => philippe.l

Comment 3 Barry Jackson 2013-04-09 10:20:02 CEST
(In reply to Philippe Leblanc from comment #2)
> I'm not sure how grub is handled when you have mutiple instances of linux
> installed. You might be currently setup to use the grub off of the Mandriva
> partition, and not Mageia's grub. Try booting into mandriva and run
> "update-grub". You can also run "os-prober" to see if you're detecting your
> Mageia partition.

Does Mandriva use grub2 now? Nobody mentioned grub2.
Everything the op has said implies grub legacy on both systems.

CC: (none) => zen25000

Comment 4 Christian C 2013-04-09 19:18:42 CEST
I finally removed mandriva from sdb1 and moved my Mageia install from sdb5 to sdb1.
After updating a few lines in menu.lst, Mageia boots fine.
Comment 5 Philippe Leblanc 2013-04-09 20:26:55 CEST
Ok can we close one in this case?
Comment 6 Christian C 2013-04-09 20:59:48 CEST
I think the problem comes from a dialog box that did exist in mandriva (before 2011) and was suppressed in mga. This dialog box proposed different places (partitions) to install the boot loader.
Could it be restored ?
Comment 7 Philippe Leblanc 2013-04-09 21:44:57 CEST
I had a question about the bootloader installation. So as I understand it, you installed Mandriva first, and Mageia second correct? If so, did you skip the bootloader installation step when installing Mageia, or did you proceed with the installation and overwrite the Grub from Mandriva?
Comment 8 Barry Jackson 2013-04-09 22:37:04 CEST
(In reply to Christian CHEVALIER from comment #6)
> I think the problem comes from a dialog box that did exist in mandriva
> (before 2011) and was suppressed in mga. This dialog box proposed different
> places (partitions) to install the boot loader.
> Could it be restored ?

It is there, but only accessible from the summary page during installation.
http://docteam.mageia.nl/en/DrakX/content/setupBootloader.html
If this is ignored, then the installation will default to installing grub to the MBR.
Comment 9 Christian C 2013-04-10 16:27:47 CEST
(In reply to Philippe Leblanc from comment #7)
> I had a question about the bootloader installation. So as I understand it,
> you installed Mandriva first, and Mageia second correct? If so, did you skip
> the bootloader installation step when installing Mageia, or did you proceed
> with the installation and overwrite the Grub from Mandriva?

Mandriva was installed first in sdb1.
I had a spare partition sdb5 to install Mageia
I don't remember exactly the sequence but remember that I had no choice where to put the bootloader
Comment 10 Barry Jackson 2013-04-10 17:46:22 CEST
Since the system in question has now been totally changed - no further diagnostics are possible on the installation, so closing.

Please feel free to re-open if you reproduce the problem.

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

Comment 11 play game 2019-07-05 18:37:25 CEST Comment hidden (spam)

CC: (none) => pikachu17997

Dave Hodgins 2019-07-06 05:27:30 CEST

CC: (none) => davidwhodgins