salut
j’ai un ordi qui a mal configuré le kernel :
$dpkg -l |grep 6.1.0-17
ii  linux-headers-6.1.0-17-amd64            6.1.69-1                               amd64        Header files for Linux 6.1.0-17-amd64
ii  linux-headers-6.1.0-17-common           6.1.69-1                               all          Common header files for Linux 6.1.0-17
ii  linux-image-6.1.0-17-amd64              6.1.69-1                               amd64        Linux 6.1 for 64-bit PCs (signed)
$dpkg -l |grep 6.1.0-18
iF  linux-headers-6.1.0-18-amd64            6.1.76-1                               amd64        Header files for Linux 6.1.0-18-amd64
ii  linux-headers-6.1.0-18-common           6.1.76-1                               all          Common header files for Linux 6.1.0-18
iF  linux-image-6.1.0-18-amd64              6.1.76-1                               amd64        Linux 6.1 for 64-bit PCs (signed)
et donc qui ne démarre pas sur le 6.1.0-18
Question 1 : comment booter sur le kernel 6.1.0-17
comment changer le grub pour démarrer sur le 6.1.0-17? ( A la main, au grub , je vais sur la deuxième ligne, entrée, choix de la troisième ligne )
Question 2 : comment réinstaller un kernel
sudo apt-get --reinstall install  linux-image-amd64 linux-headers-amd64 aurait-il marché?
Question 3 : comment désinstaller probablement un kernel ?Il fallait lire comment désinstaller proprement un kernel
le seul truc qui a marché :
sudo apt-get remove *6.1.0-18*
ça a enlevé :
linux-headers-6.1.0-18-amd64 linux-headers-6.1.0-18-common linux-image-6.1.0-18-amd64
mais ça a enlevé :
linux-image-amd64 linux-headers-amd64
 
      
    
 il suffit de préciser le linux-image voulu.
 il suffit de préciser le linux-image voulu.