Diferencia entre revisiones de «Ubuntu»

De TechShareRoom wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Sin resumen de edición
Línea 11: Línea 11:
**Instalar con:
**Instalar con:


<nowiki>
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash


Install linux-purge tool like this.
apt install dialog
</nowiki>
 
Para saber los kernel que hay instalados:
 
<nowiki>
dpkg --list | grep linux-image
</nowiki>


Then run this in terminal, use "sudo" if proceed in your case:
Then run this in terminal, use "sudo" if proceed in your case:


'''linux-purge --clear-boot'''
<nowiki>
linux-purge --clear-boot
</nowiki>


Then go on removing kernels by e.g.
Then go on removing kernels by e.g.


'''linux-purge --keep 1 --choose'''
<nowiki>
linux-purge --keep 1 --choose
</nowiki>

Revisión del 01:33 11 abr 2023

Mantenimiento

Reparación

Solución a problemas

sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash

apt install dialog

Para saber los kernel que hay instalados:

dpkg --list | grep linux-image

Then run this in terminal, use "sudo" if proceed in your case:

linux-purge --clear-boot

Then go on removing kernels by e.g.

linux-purge --keep 1 --choose