Soft Serve Direct
ROGER DAVIES MAGRATH, AB CANADA
  • Home
    • Twitter
    • Twitter Feed
  • inMagrath152
  • News
    • MagrathOpen Wifi
    • Pharmacy
  • Contact Us
    • Map
    • Phone
  • Search
  • Favorites
    • Magrath Chamber of Commerce
    • Magrath Lions Club
    • Magrath Museum

initramfx-tools no matching device available error

2/1/2019

0 Comments

 
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/
​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: ~ #
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Roger Davies of ssdirect.com

    Archives

    March 2024
    July 2023
    May 2023
    April 2023
    March 2023
    January 2022
    March 2020
    January 2020
    December 2019
    November 2019
    April 2019
    March 2019
    January 2019
    September 2018
    April 2018
    January 2018
    July 2017
    October 2016
    September 2016
    December 2015
    October 2015
    September 2015
    June 2015
    May 2015
    December 2014
    November 2014
    October 2014
    May 2014
    April 2014
    March 2014
    October 2013
    April 2013
    March 2013
    February 2013
    June 2012
    May 2012
    April 2012
    February 2012
    January 2012
    November 2011
    October 2011
    May 2011
    April 2011
    March 2011
    February 2011
    November 2010
    September 2009
    November 2008
    February 2007

    Categories

    All
    Accounting
    Email
    Family Safe
    Hardware
    Internet
    Linux
    Software
    Wifi

    RSS Feed

Powered by Create your own unique website with customizable templates.