[xubuntu-users] "Not enough space on disk /boot"
Thomas Blasejewicz
nyuwa at hb.tp1.jp
Sun May 24 12:20:52 UTC 2015
On 2015/05/24 16:02, Petter Adsen wrote:
> On Sat, 23 May 2015 22:55:38 +0900
> Thomas Blasejewicz <nyuwa at hb.tp1.jp> wrote:
>
>> "Not enough free space.
>> The upgrade needs a total of 81.9 MB of free space on the disk /boot.
>> Please free at least an additional of 20.4 MB of space on the
>> disk /boot. Empty your trash and remove temporary packages of former
>> installation using sudo apt-get clean."
>> I did not set this myself. However, I do recall using "entire disk +
>> LVM" during setup and read somewhere, this might be problem.
> What is this all about, and is there a way to make all this
> "automatic"?
> Maybe there is some old cruft there, placed there by mistake? If you
> give us the output of "ls -lah /boot", we can tell you exactly what
> commands to run in order to free up some space.
>
The command you gave, results in:
thomas at maus:~$ ls -lah /boot
total 39M
drwxr-xr-x 5 root root 3.0K 5月 23 23:23 .
drwxr-xr-x 22 root root 4.0K 5月 23 23:23 ..
-rw-r--r-- 1 root root 1.2M 5月 4 14:35 abi-3.13.0-52-generic
-rw-r--r-- 1 root root 166K 5月 4 14:35 config-3.13.0-52-generic
drwxr-xr-x 3 root root 1.0K 5月 23 23:23 extlinux
drwxr-xr-x 5 root root 1.0K 5月 23 23:23 grub
-rw-r--r-- 1 root root 29M 5月 23 22:57 initrd.img-3.13.0-52-generic
drwx------ 2 root root 12K 1月 25 17:46 lost+found
-rw-r--r-- 1 root root 173K 3月 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 174K 3月 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 175K 3月 12 2014 memtest86+_multiboot.bin
-rw------- 1 root root 2.6M 5月 4 14:35 System.map-3.13.0-52-generic
-rw------- 1 root root 5.6M 5月 4 14:35 vmlinuz-3.13.0-52-generic
thomas at maus:~$
I also found on the net a "1-command solution":
http://tuxtweaks.com/2010/10/remove-old-kernels-in-ubuntu-with-one-command/
That command is, however, WAY beyond comprehension.
But .. if it works (have not tried yet), I could copy it in regular
intervals from a text file to run it.
Then again, as I asked before, should all this not run "automatically"???
Where any update overwrites old, no longer used files, so that there is
no need to do all this stuff manully.
I cannot remember ever having been asked for by other Linux flavors to
free room on /boot ...
More information about the xubuntu-users
mailing list