Linux kernel version downgrade image 18 to image 16


1. Reboot the system press Esc button booting time

2. It listed Linux images versions (select which image you want)

3. Select Advance - Linux image 16.* 

4. Login and open terminal

5. Run following commands:

# Switch to root user
 sudo su 

# Display linux version
 uname -mrs 

 # Locate linux image path
 locate linux-image-5.18.0-kali5-amd64 

 # Remove image from cache file
  rm /var/cache/apt/archives/linux-image-5.18.0-kali5-amd64_5.18.5-1kali6_amd64.deb 
  rm /var/lib/dpkg/info/linux-image-5.18.0-kali5-amd64* 
 # Remove image from deb package
  dpkg --configure -a    # Deb packages recongifure and fix broken deb packages 
  update-grub2            # Update grup path

#Reboot the system
 reboot 

No comments:

Powered by Blogger.