[sf-lug] boot is full
Ken Shaffer
kenshaffer80 at gmail.com
Tue May 27 18:16:47 PDT 2014
Yup, your boot partition is tiny. You can try to 1)unmount sda1 (the boot
partition), 2)see what's now in /boot, but assuming nothing, or only old
things not of interest anymore 3)remount the sda1 under /mnt
4)copy everything from /mnt back to /boot. and 5)edit the /etc/fstab file
to comment out the mount of sda1.
(Or just do the copy from a live media, that will definitely work). When I
clean up old kernels, I do the following for the kernel you want to remove,
not the active one of course (not your immediate problem):
apt-cache pkgnames |grep 3.11.0.22
sudo apt-get purge `!!`
Ken
On Tue, May 27, 2014 at 3:25 PM, Christian Einfeldt <einfeldt at gmail.com>wrote:
> Hi,
>
> Thanks to everyone who replied. I am not sure that I can resize the
> partition, can I? Zareason had to encrypt my HD, and I had to install a
> virtual machine, as my employer requires Microsoft Windows. So I am not
> sure what I can re-size and what not. Maybe this will help:
>
> The output of
>
> christian at laptop:/boot$ sudo ls -lR > /home/christian/Desktop/list.txt
>
> is here:
>
> http://pastebin.com/58G4wWRm
>
> This also might helpt:
>
> christian at laptop:/boot$ df -h > /home/christian/Desktop/list2.txt
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/sda3_crypt 212G 104G 98G 52% /
> udev 3.9G 4.0K 3.9G 1% /dev
> tmpfs 791M 884K 790M 1% /run
> none 5.0M 0 5.0M 0% /run/lock
> none 3.9G 224K 3.9G 1% /run/shm
> /dev/sda1 88M 79M 2.3M 98% /boot
> /home/christian/.Private 212G 104G 98G 52% /home/christian
>
> I am running Ubuntu 12.04 64 bit
>
> christian at zareason-ultralap440:/$ uname -a
> Linux zareason-ultralap440 3.11.0-22-generic #38~precise1-Ubuntu SMP Fri
> May 16 20:47:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Thanks!
>
>
> 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/
>>
>
>
>
> --
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20140527/a30bc6d7/attachment.html>
More information about the sf-lug
mailing list