debian: Set the RESUME variable to override this.
when there is the following error:
update-initramfs: Generating /boot/initrd.img-4.10.17-3-pve
W: initramfs-tools configuration sets RESUME = UUID = 79799165-f1ea-481f-a74b-094fa54e04df
W: but no matching swap device is available.
I: The initramfs will attempt to resume from / dev / sda3
I: (UUID = 8bde2cb5-89c3-43ab-b7be-ae313ba4691a)
I: Set the RESUME variable to override this.
try checking the disk:
root @ d: ~ # blkid
/ dev / sda1: UUID = "c6d3f94d-3df6-4b11-b442-9b3b5b15cdb9" TYPE = "ext4" PARTUUID = "000286c7-01"
/ dev / sda2: UUID = "66d2c9ef-ef96-4f03-a6ac-e4508bb3de74" TYPE = "ext4" PARTUUID = "000286c7-02"
/ dev / sda3: UUID = "8bde2cb5-89c3-43ab-b7be-ae313ba4691a" TYPE = "swap" PARTUUID = "000286c7-03"
try checking fstab:
root @ d: ~ # cat / etc / fstab
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on / dev / sda1 during installation
UUID = c6d3f94d-3df6-4b11-b442-9b3b5b15cdb9 / ext4 errors = remount-ro 0 1
# swap was on / dev / sda3 during installation
# UUID = 79799165-f1ea-481f-a74b-094fa54e04df none swap sw 0 0
UUID = 8bde2cb5-89c3-43ab-b7be-ae313ba4691a none swap sw 0 0
check :
root @ d: ~ # cat /etc/initramfs-tools/conf.d/resume
RESUME = UUID = 79799165-f1ea-481f-a74b-094fa54e04df
This happened because it used to be a swap
UUID = 79799165-f1ea-481f-a74b-094fa54e04df
then replaced it
UUID = 8bde2cb5-89c3-43ab-b7be-ae313ba4691a none
then this needs to be changed
first update the swap at:
root @ d: ~ # vi /etc/initramfs-tools/conf.d/resume
RESUME = UUID = 8bde2cb5-89c3-43ab-b7be-ae313ba4691a
now update-initramfs:
root @ d: ~ # update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-4.10.17-3-pve
update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
root @ d: ~ #
Working Notes: I was having a stubborn system error on my Linux test computer - initramfs-tools configuration error with it setting swap to wrong drive .. this page helped reset my system (but had to translate part of the text from Indonesian first ..) https://hantulab.wordpress.com/2017/10/11/debian-set-the-resume-variable-to-override-this/
0 Comments
|
AuthorCategories
All
|