All the time I boot I have to hit return on an error message after selecting to boot Mageia: "error: ../../grub-core/commands/loadenv.c:216: sparse file not allowed". The error seems to stem from when Grub had been compiled but it does not impair functionality. It is just somewhat annoying. > rpm -q grub2-common grub2-efi grub2-mageia-theme grub2-common-2.06-1.1.mga8 grub2-efi-2.06-1.1.mga8 grub2-mageia-theme-2.06-1.1.mga8
list of related issues: https://bugs.mageia.org/show_bug.cgi?id=30180
Duplicate of bug 27117 *** This bug has been marked as a duplicate of bug 27117 ***
Resolution: (none) => DUPLICATEStatus: NEW => RESOLVED
As I have posted yesterday for bug 27117 disabling the error message is not the solution. If you need to resume from hibernation and the timeout elapses or you do not know the last booted system any more then it will worse than crash your system if the last boot entry is not selected again automatically. As I have found out this is possible by storing the grubenv in /boot/efi rather than /boot/grub. Please look forward to issue an update/patch for my fix. It is an issue that should really be resolved and that has already been reported for many distributions.
Created attachment 13215 [details] setboot - script for dual boot between Mageia and Debian I do also have a solution for when you have btrfs, no BIOS computer and no UEFI partition: Set the system to be booted next with grub[2]-setenv. The script has the boot-ids from /boot/grub/grub.conf for Mageia and Debian configured statically (automizing that fully one would have to parse grub.conf). This could f.i. be useful for coreboot-machines or whenever you wanna set the system to be booted next manually. You could do so to automatically reboot to another distribution without anyone having to manually select a Grub entry on boot.
Reopening per Comment 3: it may try to resume wrong system after hibernation. Assigning to tools maintainers for comment, or more. This may be worth an errata entry.
Keywords: (none) => FOR_ERRATA8Summary: odd looking error message displayed by grub: sparse file not allowed => Grub may try to resume wrong system.Assignee: bugsquad => mageiatoolsStatus: RESOLVED => REOPENEDCC: (none) => friResolution: DUPLICATE => (none)