In Mageia 3 beta 1, trying to install grub2 fails with the message "Mandatory package grub2 is missing". The problem is that /usr/lib/libDrakx/bootloader.pm is looking for a binary program grub, lilo, or grub2, but there is no program called grub2. Simplest fix is to modify the grub2 package with ln /sbin/grub2-install /sbin/grub2 Proper fix is to modify the message in /usr/lib/libDrakX/do_pkgs.pm to "Mandatory program %s is missing" so it's easier to figure out what's wrong, and to modify /usr/lib/libDrakX/bootloader.pm to look for grub2-install, rather then grub2, as the program name. I've confirmed this by running the ln command in a live dvd before installing to the hard drive. There's still a problem with the grub2 configuration, as it drops to a grub shell on reboot, but the fix for that will require more digging.
CC: (none) => ennael1Whiteboard: (none) => 3beta1
No that's not the issue (we look for grub2-reboot) but as we are not yet able to read back grub2 config, we weren't installing grub2 *** This bug has been marked as a duplicate of bug 8366 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATE
I don't agree. I've now successfully booted from a vb install, after installing from a live dvd (kde i586). To do so, I had to do the following ... Before installing to the hard drive ln /sbin/grub2-install /sbin/grub2 After installing to the hard drive, during which I selected grub2 on sda, ... mkdir /a1 mount -t auto /dev/sda1 /a1 mount --bind /run /a1/run (same with /dev, /proc, and /sys) chroot /a1 grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sda Then, on reboot, grub2 is working. So the problems with bootloader.pm are that it's looking for program called grub2, which doesn't exist, and it's failing to run the grub2-mkconfig command. I'm not sure if the grub2-install is needed after the grub2-mkconfig command, or not.
Bug 8366 was about grub2-install not being available in stage2. This bug is about bootloader.pm not working properly, when grub2 is available, and is not fixed, so I'm reopening this bug.
Status: RESOLVED => REOPENEDResolution: DUPLICATE => (none)
CC: (none) => zen25000
CC: (none) => eeeemail, tmb
Indeed a check was wrong.
Status: REOPENED => RESOLVEDResolution: (none) => FIXED
Workaround for using grub2 with the classic installer. After trying to install grub2, and getting the message "Mandatory package grub2 is missing" Alt+ctrl+f2 ln /mnt/sbin/grub2-install /mnt/sbin/grub2 Alt+ctrl+f7 Select ok twice.
This is already fixed in drakx-installer-stage2-15.13
Blocks: (none) => 416