Results 1 to 5 of 5

Thread: The volume “boot” has only 0 byte disk space remaining

  1. #1
    Join Date
    Sep 2007
    Location
    Texas, USA
    Beans
    13
    Distro
    Ubuntu

    The volume “boot” has only 0 byte disk space remaining

    I'm getting 'The volume “boot” has only 0 byte disk space remaining' whenever I try to run sudo apt-get upgrade. Ubuntu 12.10 64 bits

    I can't resize /boot in gparted (it says maximum size 243 MB, which it is). If I try to run a sudo apt-get autoremove it fails because it says there is not enough disk space. I am unable to remove any of the kernel images to increase the free space on /boot because it says they can be removed due to dependencies if I try.

    I am running 3.5.0-26-generic

    The kernel images sitting in /boot are

    3.5.0-17-generic
    3.5.0-18-generic
    3.5.0-19-generic
    3.5.0-21-generic
    3.5.0-23-generic
    3.5.0-25-generic

    What do I do now?

  2. #2
    Join Date
    Jan 2011
    Beans
    193

    Re: The volume “boot” has only 0 byte disk space remaining

    You can if it is impossible to remove by using the gui or other helper, remove kernels by hand.

    as example, you could remove kernel version 3.5.0-21-generic in /boot obvoius.

    then remove all the files listed with
    Code:
        ls *3.5.0-21*
    which will give you 6 files then remove them one by one or all together with

    Code:
    rm -i  *3.5.0-21*
    DONT forget the -i which will make it ask for deletion. just say y if its okay.

    Afterwards you can clean up the libs and modules who needs to be removed. Try first with the gui.
    Last edited by kuifje09; April 9th, 2013 at 10:01 PM.

  3. #3
    Join Date
    Sep 2007
    Location
    Texas, USA
    Beans
    13
    Distro
    Ubuntu

    [solved] Re: The volume “boot” has only 0 byte disk space remaining

    Whew.

    I found this thread here: http://askubuntu.com/questions/17120...old-kernels-to

    So the solution was to manually delete most of the older config, abi and System.map files to free up space.

  4. #4
    Join Date
    Jan 2011
    Beans
    193

    Re: The volume “boot” has only 0 byte disk space remaining

    That can be correct indeed. I sometimes save 1 old kernel after big changes...
    To fall back , if something strange happend...

  5. #5
    Join Date
    Sep 2007
    Location
    Texas, USA
    Beans
    13
    Distro
    Ubuntu

    Re: The volume “boot” has only 0 byte disk space remaining

    Thank you for your responses

Tags for this Thread

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
  •