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

Thread: boot

  1. #1
    Join Date
    May 2013
    Beans
    4

    boot

    How do I clean out the boot. It is full and i can not install update. Is there a way to expand it? Right now it is 217MB

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: boot

    to give you some usefull help, first tell us about your hardware/installation
    http://ubuntuforums.org/showthread.p...1#post12495221

  3. #3
    Join Date
    May 2013
    Beans
    4

    Re: boot

    hp pavilion dv6 newest version. used a flash drive to install

  4. #4
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: boot

    Do you have a separate /boot partition?

    Let's see the output of command mount.
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  5. #5
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: boot

    You probably have old (backup) kernels in /boot/ that are safe to remove (it's recommended to keep at least 1 old kernel).

    To view do:
    Code:
    ls -al /boot/
    To remove old kernels do for example:
    Code:
    sudo rm /boot/*-3.2.0-40-generic
    Where 3.2.0-40-generic is the kernel version you want to remove.

    Not necessary to make room, but you might want to cleanup the old kernel entries from the GRUB menu by doing:
    Code:
    sudo update-grub
    Last edited by miegiel; May 17th, 2013 at 06:47 PM.

  6. #6
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    2,869
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: boot

    Removing old kernels using the package manager is cleaner than using rm.
    Code:
    sudo apt-get purge linux-image-3.2.0-40-generic
    Substitute your old kernel versions. Keep one old kernel as backup. This will update grub automatically.

  7. #7
    Join Date
    May 2013
    Beans
    2

    Re: boot

    As Miegiel explained, remove the unwanted and oldest vmlinuz*, initrd.img*, System.map* and config*. after this update the grub with update-grub command.

    It will make you some space to update the kernel

    Thanks
    Shivu

  8. #8
    Join Date
    May 2010
    Location
    uk
    Beans
    8,325
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: boot

    Hi

    Quote Originally Posted by Shivakumara View Post
    As Miegiel explained, remove the unwanted and oldest vmlinuz*, initrd.img*, System.map* and config*. after this update the grub with update-grub command.

    It will make you some space to update the kernel

    Thanks
    Shivu
    The problem is that will not cleanly remove the kernels as it will leave other files dotted around the filing system.

    It will also leave the package manager in an inconsistent state. It will have the kernels flagged as installed when they are not.

    Although what you and Miegel propose will work, I would advocate doing a proper job and remove them using the suggestion in post #6 or a variation of it using dpkg.

    @OP. Please post the output of

    Code:
    dpkg -l | grep -E linux-"headers-|image-"
    You can copy and paste it into the terminal and copy and paste the results back here.

    It will also show the kernel headers you have installed as they may need cleaning up as well.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  9. #9
    Join Date
    May 2013
    Beans
    4

    Re: boot

    Code:
    ii  linux-image-3.5.0-17-generic                                3.5.0-17.28                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-3.5.0-24-generic                                3.5.0-24.37                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-3.5.0-25-generic                                3.5.0-25.39                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-3.5.0-26-generic                                3.5.0-26.42                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-3.5.0-27-generic                                3.5.0-27.46                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    iF  linux-image-3.8.0-19-generic                                3.8.0-19.30                            amd64        Linux kernel image for version 3.8.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.5.0-17-generic                          3.5.0-17.28                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.5.0-24-generic                          3.5.0-24.37                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.5.0-25-generic                          3.5.0-25.39                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.5.0-26-generic                          3.5.0-26.42                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.5.0-27-generic                          3.5.0-27.46                            amd64        Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    iU  linux-image-extra-3.8.0-19-generic                          3.8.0-19.30                            amd64        Linux kernel image for version 3.8.0 on 64 bit x86 SMP
    iU  linux-image-generic                                         3.8.0.19.35                            amd64        Generic Linux kernel image
    jtbrooks101@jtbrooks101-HP-Pavilion-dv6-Notebook-PC:~$
    that is what i got
    Last edited by matt_symes; May 19th, 2013 at 01:48 PM. Reason: Added code tags

  10. #10
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: boot

    I would suggest you use synaptic, which you may need to install first, as it is quite simply the best package manager available and gives you a lot of flexibility that the software-centre does not. Now search for and remove:-

    linux-image-3.5.0-17-generic 3.5.0-17.28 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-3.5.0-24-generic 3.5.0-24.37 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-3.5.0-25-generic 3.5.0-25.39 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-3.5.0-26-generic 3.5.0-26.42 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-extra-3.5.0-17-generic 3.5.0-17.28 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-extra-3.5.0-24-generic 3.5.0-24.37 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-extra-3.5.0-25-generic 3.5.0-25.39 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    linux-image-extra-3.5.0-26-generic 3.5.0-26.42 amd64 Linux kernel image for version 3.5.0 on 64 bit x86 SMP
    along with any same numbered header packages. That will leave you with two kernels only and should clean out a great deal of space on your system.
    Last edited by matt_symes; May 19th, 2013 at 01:50 PM. Reason: Added quote tags
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

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
  •