@[TOC](解决系统Info:I: The initramfs will attempt to resume from /dev/sdxx I: (UUID=XXXX…))
原因
具体终端信息如下:
update-initramfs: Generating /boot/initrd.img-5.4.0-62-generic
I: The initramfs will attempt to resume from /dev/sdxx
I: (UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
I: Set the RESUME variable to override this.
问题直接原因应为/swap分区的UUID被修改后而没有加入RESUME file
解决方法
首先使用如下命令打印/swap分区的UUID号,比对一下确认和上面的系统打印输出一致,锁定为该问题
blkid | awk -F\" '/swap/ {print $2}'
然后使用如下命令写入/swap分区的UUID号