Diferencia entre revisiones de «Ubuntu»
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 | ||
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: | ||
<nowiki> | |||
linux-purge --clear-boot | |||
</nowiki> | |||
Then go on removing kernels by e.g. | Then go on removing kernels by e.g. | ||
<nowiki> | |||
linux-purge --keep 1 --choose | |||
</nowiki> |
Revisión del 00:33 11 abr 2023
Mantenimiento
Reparación
Solución a problemas
- My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room
- linux-purge
- Instalar con:
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