cleaning boot/

Discussion in 'Server Operation' started by kwickcut, Aug 6, 2010.

  1. kwickcut

    kwickcut Member HowtoForge Supporter

    below are all the files in my boot area i was wondering what i can remove to make space so i can update my kernel thanks...oooo this is on a running server with 12 sites so i must make sure that i am removing the correct files


    kwick


    pic of warning from ispconfig

    [​IMG]


    pic of boot dir

    [​IMG]
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What'S the output of
    Code:
    uname -a
    ? You need to keep that kernel, the rest can be removed. Which distribution do you use?
     
  3. kwickcut

    kwickcut Member HowtoForge Supporter

    Code:
    root@kwickservers:/home/kwick# uname -a
    Linux kwickservers.com 2.6.31-22-server #60-Ubuntu SMP Thu May 27 03:42:09 UTC 2010 x86_64 GNU/Linux
    root@kwickservers:/home/kwick#
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You can remove all kernels except 2.6.31-22-server. It's a good idea to do this with apt. This will also modify your GRUB configuration and remove the old kernels.
     
  5. kwickcut

    kwickcut Member HowtoForge Supporter

    forgive me because i am just learning as i go to install i use

    get-apt install bla bla bla

    so to remove do i use

    apt-get remove then name of apt...

    and do i have to cd to the directory to remove information



    kwick
     
  6. Rapid2214

    Rapid2214 New Member

  7. kwickcut

    kwickcut Member HowtoForge Supporter

    just wat i needed thanks
     
  8. Rapid2214

    Rapid2214 New Member

    You could also try cleaning out /var/log cause those files do build up :D
     

Share This Page