[sf-lug] boot is full

Samir Faci samir at esamir.com
Tue May 27 14:04:49 PDT 2014


The safer approach then just deleting files would be something along these
lines:

http://askubuntu.com/questions/2793/how-do-i-remove-or-hide-old-kernel-versions-to-clean-up-the-boot-menu-or-free-sp
http://markmcb.com/2013/02/04/cleanup-unused-linux-kernels-in-ubuntu/

There are packages associated with those files, rather then deleting them
manually you should try to determine which package owns them and apt-get
remove the file.

this is also helpful to determine which package owns a file:

dpkg-query -S '/bin/ls'

or

dpkg -S /bin/ls


I know that people tend to recommend multi-tier configuration for
partitioning (ie.  /var  /var/log /home /boot  etc ) and they're fair
suggestions if you're running a server, though I've found that except for
/home.  Most of the other partitions
give me more headaches then I care for on a personal machine.








On Tue, May 27, 2014 at 1:51 PM, Grant Bowman <grantbow at ubuntu.com> wrote:

> Verify the error message is true by running "df". Running "uname -a" will
> tell you what kernel you are using. If that version number matches those
> files I would not delete any of them. The dates are the best clue. That
> initrd was just generated and maybe files in the grub directory filled up
> the disk. Since it looks like a separate partition I would resize or move
> those files to a new partition.
>
> Grant
>
>
>
> On Tue, May 27, 2014 at 1:42 PM, Christian Einfeldt <einfeldt at gmail.com>wrote:
>
>> Hi,
>>
>> I am getting an error message when I boot up that says my /boot is full
>> and that I need to delete some files.  Can I safely delete any of these
>> files or folders?
>>
>> christian at laptop:/boot$ ls -l
>> total 41501
>> -rw-r--r-- 1 root root  1005576 May 16 14:03 abi-3.11.0-22-generic
>> -rw-r--r-- 1 root root   163267 May 16 14:03 config-3.11.0-22-generic
>> drwxr-xr-x 3 root root     7168 May 27 13:29 grub
>> -rw-r--r-- 1 root root 26012492 May 27 13:28 initrd.img-3.11.0-22-generic
>> drwx------ 2 root root    12288 Feb 27 14:00 lost+found
>> -rw------- 1 root root  3468883 May 16 14:03 System.map-3.11.0-22-generic
>> -rw------- 1 root root  5910656 May 16 14:03 vmlinuz-3.11.0-22-generic
>>
>> Thanks!
>>
>> --
>> Christian Einfeldt
>>
>> _______________________________________________
>> sf-lug mailing list
>> sf-lug at linuxmafia.com
>> http://linuxmafia.com/mailman/listinfo/sf-lug
>> Information about SF-LUG is at http://www.sf-lug.org/
>>
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/
>



-- 
Samir Faci
*insert title*
fortune | cowsay -f /usr/share/cows/tux.cow

Sent from my non-iphone laptop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20140527/080a31ed/attachment.html>


More information about the sf-lug mailing list