Partisi Boot di ubuntu 100% ?

0 comment 0 views

Hari ini admin sedikit di pusingkan dengan partisi boot di ubuntu server yang sudah penuh 100%, namun setelah browsing sana sini akhirnya dapat solusi yang mudah, tinggal masuk command line sebagi root :

dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done

atau
dpkg --get-selections | \
  grep 'linux-image*' | \
  awk '{print $1}' | \
  egrep -v "linux-image-$(uname -r)|linux-image-generic" | \
  while read n
  do
    apt-get -y remove $n
  done

Leave a Comment

AllOPerator is the Best Newspaper and Magazine WordPress Theme with tons of options and demos ready to import. This theme is perfect for blogs and excellent for online stores, news, magazine or review sites.

Buy Soledad now!

©2022 AllOperator. All Right Reserved. Designed and Developed by AllOperator.Com