VSIDO Community

VSIDO Support => Scripts and How To's => How To's => Topic started by: hakerdefo on May 07, 2017, 03:02:28 PM

Title: Fix boot delay in vsido & Debian aka "waiting for suspend/resume device" problem
Post by: hakerdefo on May 07, 2017, 03:02:28 PM
From version 0.128 of initramfs-tools, the boot code waits for a suspend/resume device to appear, rather than checking just once. If the configured or automatically selected resume device is not available at boot time, this results in a roughly 30 second delay. Solution? It's easy  8)
Open "/etc/initramfs-tools/initramfs.conf" file in text-editor as root and add the following line to it,

Code: [Select]
RESUME=none

Save the file. Next run the following command in terminal-emulator,

Code: [Select]
sudo update-initramfs -u -k all

Voila! Boot delay is gone  8)

Cheers!!!
Title: Re: Fix boot delay in vsido & Debian aka "waiting for suspend/resume device" problem
Post by: VastOne on May 07, 2017, 09:47:33 PM
Or you can delete the resume file from /etc/initramfs-tools/conf.d/resume especially if it contains the wrong or non existing uuid device.. which is what was included on the ISO's when this developed.. I have no idea how that file was created or originated..

:D

Thanks for posting this.. I meant to once I resolved it on the ISO build but for got about it