Thank friendly author to share the related knowledge on the Internet. Based on Google Search, I find out some information for me to resolve this problem. That is :
If the /boot partition size is full and the reason is the existing old kernel, maybe we will clean the old kernel images.
How to clear these old kernel images?
At first, we need to realize what the current kernel version is used by using the uname -r command.
dpkg -l linux-{image,headers}-"[0-9]*" | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e '[0-9]'
commandThen we will begin to uninstall and delete these old kernel by using the
dpkg -l linux-{image,headers}-"[0-9]*" | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e '[0-9]' | xargs sudo apt-get -y purge
command
沒有留言:
張貼留言