Categorías
General

«Set the RESUME variable to override this»

En el error, initfram-tools hace saber que ha encontrado el una incongruencia relacionada al UUID de la partición swap.

Este error es visible luego de actualizar el sistema, al final del resumen de las operaciones. Allí es posible leer el siguiente mensaje:

Procesando disparadores para initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-54-generic
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=e791294f-d590-4a23-8d1a-47689915513a)
I: Set the RESUME variable to override this.

La solución es bastante sencilla, debemos agregar el UUID al archivo /etc/initramfs-tools/conf.d/resume.

Puedes ejecutar lo siguiente para hacerlo:

printf "RESUME=UUID=$(blkid | awk -F\" '/swap/ {print $2}')\n" | sudo tee /etc/initramfs-tools/conf.d/resume

Luego ejecutamos lo siguiente para actualizar los kernels en el sistema:

update-initramfs -u -k all

Reiniciamos el sistema para que los cambios tengan efecto.