I still think a simpler solution, one that all users, novice or newbie, could use is a GUI that lists the pertinent information and allows deletion of any older and unused kernels. This may offend some purists, but to me, the idea is to make linux easy to use and maintain for those that finally make the break from MicroSoft..
On 07/12/2017 02:14 PM, Jason Mast wrote: > While it is helpful for new users to have to google shell commands and > identify solutions to problems, this simply occurs too often. The > solution is the same every time. It is repetitive and annoying, > > the script could store the new and old information in different > locations to avoid the lack of space, the boot could be made larger by > default, options could be presented to the user rather than simply > failing, backup information for old kernals could be stored elsewhere > (and only the most recent moved to boot for compatibility) ... etc. > > a sample dialog would be > "there is not enough space for the boot information, there are too many items > being retained in /boot, but it is strongly suggested that you maintain some > backup kernals as updates can cause issues with new or old hardware. Please > choose the number of old backups to maintain and the frequency with which > they should be replaced" > then have a dialog that lists options like (daily weekly monthly yearly and > no backups) and an option to store them tarred in another location that does > not fill up ... also it should list the size of the individual groups of > files (by date) ... and it should explain that this is a kernal backup not a > file backup > > also boot should be bigger > > and there should be a semipermanent configuration change listed on the > forum rather than the delete old kernals solution - which is just a > bandaid in that you will just have to repeatedly do it, because > sometimes i just want to turn the thing on and play minecraft (and my > timesink of choice is not system administration) > > Anyway,the point of "automatic updates" is they happen automatically, > and you dont have to mess with them, this bug forces you to mess with > them > -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/798414 Title: update-initramfs should produce a more helpful error message when there isn't enough free space Status in initramfs-tools: Confirmed Status in Software Updater: New Status in dpkg package in Ubuntu: Invalid Status in initramfs-tools package in Ubuntu: In Progress Bug description: Binary package hint: initramfs-tools When installing a kernel, /boot may become full during execution of post-installation script typically when update-initramfs is creating or updating an initrd.img file. This is resulting in kernel installation error. For example: Setting up initramfs-tools (0.98.8ubuntu3) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-2.6.38-8-generic dpkg: error processing initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Ideal behavior: Give a more helpful error message when this unfortunate situation occurs so that user can fix the broken system and keep it going. Workaround: As the bug reporting system forwards user to this bug report, such instructions can be given here: https://help.ubuntu.com/community/RemoveOldKernels To manage notifications about this bug go to: https://bugs.launchpad.net/initramfs-tools/+bug/798414/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp