Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Full boot sector ubuntu 14.04

  1. #1

    Full boot sector ubuntu 14.04

    My boot sector is full. I presume the boot sector is /boot/
    Here is a screenshot of the directoy.
    Which files can I delete?
    Screenshot from 2014-09-10 14:13:49.jpg

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Full boot sector ubuntu 14.04

    Generally most desktops do not need a separate /boot partition. But either way you should regualarly houseclean old kernels as they are not automatically deleted.
    I like to keep at least two, and only allow it to grow to a few and then go into synaptic and delete older ones.


    Determine your current kernel:
    uname -a
    In synaptic search for linux-image to choose to delete old ones
    Using synaptic
    http://ubuntuforums.org/showthread.php?t=1283521

    If you do not have synaptic
    sudo apt-get install synaptic
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3

    Re: Full boot sector ubuntu 14.04

    I read that threaf but the only installed kernal in synaptic is 3.5.47

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Full boot sector ubuntu 14.04

    I have seen synaptic or dpkg not show old kernels after an upgrade as only the new ones are in dpkg list. Then you have to manually delete old kernels. Did you resort to have kernels in order?

    If still in dpkg.

    Determine your current kernel change examples version to correct for yours:
    uname -a
    cd /boot
    ls vmlinuz*
    sudo apt-get purge linux-image-[version]-generic linux-image-[version]-generic
    Multiples, just be sure not to delete your current kernel:
    sudo apt-get purge linux-image-3.8.0-{XX,XX,XX,XX,XX,XX}-generic
    Example:
    sudo apt-get purge linux-image-3.8.0-{17,18,19,21,22,23,24}-generic
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5

    Re: Full boot sector ubuntu 14.04

    ls vmlinuz* returns

    vmlinuz-3.5.0-47-generic

    I could start nautilus as root and delete some files needed for older kernels shown in the screenshot above.
    Which files do I need to leave?

  6. #6
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Full boot sector ubuntu 14.04

    If you ask for help, do not abandon your request. 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

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Full boot sector ubuntu 14.04

    I do not understand how listing files at terminal gives such a huge difference?
    Or did you reconfigure system and are now using a /boot folder inside / (root) as /boot and not the separate /boot partition?

    If you use Nautilus at root, it moves files into root's trash and no space is gained. And deleting from root's trash is a bit more difficult and just using sudo. Better to use dpkg or rm commands.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8

    Re: Full boot sector ubuntu 14.04

    Something magic happened late at night.
    Possibly while I was druk - now everything is deleleted except those files pertaining to 3.5.0-47, the boot sector is down to 33.9 MB and my server boots ok

  9. #9
    Join Date
    Aug 2006
    Location
    Whittier, CA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Full boot sector ubuntu 14.04

    I had a full boot sector. Then I deleted all but 3 kernels. I can look at the boot sector, it has much less in it.

    However, it STILL shows 100% full.

    What do I do now?!?

  10. #10
    Join Date
    Oct 2014
    Location
    Sydney
    Beans
    Hidden!

    Re: Full boot sector ubuntu 14.04

    ls -alhR /boot and remove old
    vmlinuz
    system.map
    initrd.img
    config
    abi

    files. Also if you have nay .bak files, delete them as well and run sudo apt-get autoremove to delete dependencies.

Page 1 of 2 12 LastLast

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
  •