Results 1 to 9 of 9

Thread: Out of space /boot

  1. #1
    Join Date
    Dec 2008
    Location
    Olathe, KS
    Beans
    247
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Out of space /boot

    I compiled a new kernel last night but when I tried to install it I'm being told /boot is out of space. I've never run into this problem in the past with Ubuntu.

    A quick df -h tells me /boot has a total 228MB of space, 181 MB free. My disk is encrypted so I really don't want to have to boot from a live disk to resize the parition. Is there an easy solution for this?

  2. #2
    Join Date
    Sep 2012
    Location
    12o4/14o4
    Beans
    Hidden!

    Re: Out of space /boot

    Remove some old kernels. Synaptic PM works good for this.

  3. #3
    Join Date
    Dec 2008
    Location
    Olathe, KS
    Beans
    247
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Out of space /boot

    Thanks for the reply, the problem is I only have one kernel on my machine. So I can't remove any old kernels.

  4. #4
    Join Date
    Sep 2012
    Location
    12o4/14o4
    Beans
    Hidden!

    Re: Out of space /boot

    Quote Originally Posted by kr651129 View Post
    Thanks for the reply, the problem is I only have one kernel on my machine. So I can't remove any old kernels.
    Really ?!?

    Whats in your boot?

    Code:
    l /boot

  5. #5
    Join Date
    Dec 2008
    Location
    Olathe, KS
    Beans
    247
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Out of space /boot

    Weird right?! I'm not sure off hand because I'm at work, I'll post the contents of /boot later tonight.

  6. #6
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Out of space /boot

    Quote Originally Posted by kr651129 View Post
    A quick df -h tells me /boot has a total 228MB of space, 181 MB free.
    Why so small? I don't see how you can get around this problem other than to enlarge that partition.

  7. #7
    Join Date
    Dec 2008
    Location
    Olathe, KS
    Beans
    247
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Out of space /boot

    Not sure, I went with the default options on the install for an encryped lvm volume. How hard will it be to resize this from a live usb image with it being encrypted?

  8. #8
    Join Date
    Dec 2008
    Location
    Olathe, KS
    Beans
    247
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Out of space /boot

    Contents of /boot:

    Code:
    -rw-r--r--  1 root root   844882 Oct  9 14:54 abi-3.5.0-17-generic
    -rw-r--r--  1 root root   147884 Oct  9 14:54 config-3.5.0-17-generic
    drwxr-xr-x  5 root root     1024 Jan 31 07:53 grub
    -rw-r--r--  1 root root 23059435 Jan 31 07:46 initrd.img-3.5.0-17-generic
    drwxr-xr-x  2 root root    12288 Jan 30 21:57 lost+found
    -rw-r--r--  1 root root   176764 Jan  3 16:48 memtest86+.bin
    -rw-r--r--  1 root root   178944 Jan  3 16:48 memtest86+_multiboot.bin
    -rw-------  1 root root  2901710 Oct  9 14:54 System.map-3.5.0-17-generic
    -rw-r--r--  1 root root  5129040 Oct 17 04:04 vmlinuz-3.5.0-17-generic

  9. #9
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    9,036
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Out of space /boot

    That shows you have plenty of space and is consistent with 181/223 MB free.

    How big is the kernel that you compiled? Did you strip all the debugging information from it? Is is compressed? Your vmlinuz should be about the same size as the one above, 5 MB.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •