Both on real hardware and Virtualbox the update to mga7 fails to boot if jfs is used as filesystem.
Grub stops to load at stage 1.5 and if installed on VirtualBox, it raises an fatal error.
This issue is already been discussed on dev ml. I've checked the changelog, it might be the change of optimization level?
Btw. using grub2 works, but anyone using grub and jfs and not having switched to grub2 will fail to boot!
most changes come from "tv" and "pterjan".
(In reply to Marc Krämer from comment #0)
> Both on real hardware and Virtualbox the update to mga7 fails to boot if jfs
> is used as filesystem.
> Grub stops to load at stage 1.5 and if installed on VirtualBox, it raises an
> fatal error.
> This issue is already been discussed on dev ml. I've checked the changelog,
> it might be the change of optimization level?
> Btw. using grub2 works, but anyone using grub and jfs and not having
> switched to grub2 will fail to boot!
Shouldn't we start to inform users that we'll obsolete grub by the time Mageia 8 is released? On the grub website it says
"GRUB Legacy is no longer being developed."
(In reply to Marc Krämer from comment #1)
> most changes come from "tv" and "pterjan".
Assigning to all packagers collectively, because we have no registered grub maintainer and CC'ing tv and pterjan.
marja11, pterjan, thierry.vignaudAssignee:
I have already switched to grub2, but other users will have an unbootable system after the update, so we can force the transition to grub2, or at least have this documented in errata. But at the moment we ship grub and older systems have this installed.
Rebuilding the grub package locally appears to fix this bug. Maybe a GCC bug that has since been fixed. I'll try a rebuild on the build system.
Than you Martin
As isos are being released we need to have this in Errata, so I added
Let's keep keyword IN_ERRATA7 here so we remember to update it if there comes a fix that makes it work when update media is configured during upgrade.
Update Errata when appropriate, see comment 5CC:
Not only on Virtualbox; on real hardware too.
Update of grub on jfs crashes VirtualBox and fails to boot =>
Update of grub on jfs crashes and fails to boot
Testing in VirtualBox, this is fixed by grub-0.97-48.1.mga7.
Note that I could only reproduce the bug on a 64-bit system.
1. Install a 64-bit Mageia 7 system, choosing JFS for the /boot partition. (if you don't choose to have a separate /boot partition, choose JFS for the root partition).
2. If using VBox, make a clone here for use when testing the fix.
3. After booting into the installed system, use MCC/drakboot to change the bootloader to GRUB. drakboot doesn't propose any default menu entries when switching from GRUB2, so you will need to add one. Select "Linux", the kernel and root partition to use, and any boot options you need (in VBox I just added vga=788).
4. On reboot, boot will fail before reaching the GRUB boot menu.
As above, but enable the updates_testing media before running drakboot.
This update fixes a bug in the legacy grub package that caused it to fail to boot when /boot was located on a JFS filesystem.
Did not test, but updated https://wiki.mageia.org/en/Mageia_7_Errata#LVM_and.2For_LUKS_with_old_udisks accordingly.
(In reply to Morgan Leijström from comment #8)
> Did not test, but updated
Moved to right part
OOPS, thanks! :)
Update Errata when appropriate, see comment 5 =>
When fix test OK please update Errata and remove FOR_ERRATA7 , see comment 7
I followed the procedures described in comment#7
In the cloned VM after changing from grub2 to grub,
on reboot the boot process failed as expected before the boot menu appeared
In the original VM I enabled updates-testing before running drakboot
and the VM rebooted normally
(Incidentally, in both of my tests drakboot did create a menu.lst file with the usual three boot options)
This looks OK to me for mga7-64.
When fix test OK please update Errata and remove FOR_ERRATA7 , see comment 7 =>
Advisory uploaded, validating.
advisory, IN_ERRATA7, validated_updateCC:
An update for this issue has been pushed to the Mageia Updates repository.