[xubuntu-users] "Not enough space on disk /boot"

Ince, Wilbur wilbur at wilbur.us
Mon May 25 18:11:53 UTC 2015


I have to object to this post.  As a long time Ubuntu and now Xubuntu user,
I have always run into this issue.

In the last 6 months this has happened on two of my three machines.  I
searched for a 'fool-proof' command line method, and found a thread for a
one-line solution.  It provided a very detailed explanation of the
functions in the line of code, so I thought it would be safe to use.  And
of course, this line deleted all of my kernels.

Ubuntu Tweak is the only fail-safe option available to inexperienced users,
but why install such a function less tool for only a single process?

In my 5 years on Ubuntu I have never run across a simple application
written to address this issue.  If someone would write it, you would have
the everlasting gratitude of millions of Ubuntu users!

ST, Have you tried this recipe?  I currently have two kernels listed, and
running the commands leaves those kernels completely intact.

Wilbur Ince


On Mon, May 25, 2015 at 11:55 AM, <lukshuntim at gmail.com> wrote:

> On Monday, May 25, 2015 09:54 PM, Ralf Mardorf wrote:
>
>> Hi :)
>>
>> On Mon, 25 May 2015 13:16:34 +0200, Petter Adsen wrote:
>>
>>> On Mon, 25 May 2015 19:35:44 +0900, Thomas Blasejewicz wrote:
>>>
>>
>> Help us, to help you.
>>
>>  So, I guess, I will have to continue to regularly and manually
>>>> uninstall old/unused(?) kernels to keep things going.
>>>>
>>>
> Hi Peter,
>
> Don't get despaired so quickly. :-)
>
> You're on the way to solving your problem! You know how to open a terminal
> and issue commands. That's a big plus. You "df /boot" helps us to
> understand your problem a little better.
>
>
>> We can help you, please post the output of
>>
>>    ls -hAl /boot
>>
>> and of
>>
>>    uname -r
>>
>> and just in case also of
>>
>> grep vmlinuz /boot/grub/grub.cfg
>>
>
> After you've posted the output, we'll be in a better position to help.
>
> [snipped]
>
> If your disk space problem is really having a lot of old kernels lying
> around, the first step is to uninstall them but leaves behind the current
> running one. After that, you can install the "magic" package
> linux-image-generic (if that's not already installed) which will always
> pull in the latest kernel and henceafter, in the terminal using apt-get
>
> sudo apt-get update
> sudo apt-get upgrade
> sudo apt-get autoremove
>
> will leave you with only the latest kernel.
>
> To guard against the rare problem of not able to boot the newly installed
> kernel and hence safer, you run the "sudo apt-get autoremove" command
> *after* you've shut down and successfully booted and logged in again.
>
> Hope this is sufficiently automatic, :-)
> ST
> --
>
>
>
> --
> xubuntu-users mailing list
> xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20150525/ad040f63/attachment.html>


More information about the xubuntu-users mailing list