... and if less than 40MB(?) stop and tell user to abort and make more free space in /boot before attempting upgrade. (and/or possibly offer to delete some not needed files) Description of problem: When /boot is on a separate partition (i.e for encrypted system) it may be small and been pretty filled up by automatic kernel updates. Then when an ignorant user ( no names... doh!) ) upgrades his system without checking there is enough space it may fail in last step when running mkinitrd. WORKAORUND: If the user knows, he can switch to vt2 where there is a working prompt, manually clean up space, then issue the exact same command the installer say failed, switch back to installer, press next and it finished, making this user smile :) Reproducible: Steps to Reproduce:
https://bugs.mageia.org/show_bug.cgi?id=11966 describes similar problems
CC: (none) => dvgevers
(iirc we have some note in the errata/release page)
CC: (none) => thierry.vignaudBlocks: (none) => 11979
The problem can occur also when installing regular kernel updates, not only when upgrading the system, can't it?
CC: (none) => stormi
Yes exactly, and there may be quite many during mgaX lifetime. Problem is worst for regular use: During install/system upgrade mgaX to mga(X+1) the user is thinking more about dis space, and he probably is knowing. Then say maybe he installs a system for friend/grandma/employees who i less sawy. After half a year and four kernel updates suddenlu the system fail to boot, and the user panicks and do not realise he can easily select a working kernel - instead he yells/cries at the installer guy or talk bad about mandriva.
We will deal with errata notes for Mageia 5 and add this to Mageia 6 specifications for installer
CC: (none) => ennael1
CC: (none) => anaselli
Blocks: (none) => 15637
Whiteboard: (none) => FOR_ERRATA
Added in errata: https://wiki.mageia.org/en/Mageia_5_Errata#Check_free_space_on_.2Fboot
Whiteboard: FOR_ERRATA => IN_ERRATACC: (none) => yves.brungard_mageia
Assignee: bugsquad => mageiatools
(In reply to Anne Nicolas from comment #5) > We will deal with errata notes for Mageia 5 and add this to Mageia 6 > specifications for installer Did anything change in installer, or does this need to be added to the Mageia6 errata, too?
Whiteboard: IN_ERRATA => (none)Keywords: (none) => IN_ERRATA5CC: (none) => marja11
CC: dvgevers => (none)
CC: (none) => tomwitmann099