On Thu, 01 Jul 2021 17:25:30 -0700
Jonathan Ryshpan <jonrysh(a)pacbell.net> wrote:
On Thu, 2021-07-01 at 07:26 -0700, stan via users wrote:
> On Thu, 01 Jul 2021 07:13:38 -0700
> Jonathan Ryshpan <jonrysh(a)pacbell.net> wrote:
>
> > The system always tries to restore from hibernation on startup;
> > this causes about a 1-1/2 minute delay. I see no reason for
> > this, since the system is halted by "(Start)->Shut Do..." Here
> > is an extract from the system log with inserted comments.
>
> A long time ago I remember having a problem like this, and it was
> because the kernel had a resume on the command line, telling it to
> try an ancient hibernation on a swap partition. When I removed
> that, it went away. You could interrupt the boot and look at the
> kernel command line, and if it is there remove it before booting to
> see if that is the cause.
Interesting! Did you remove the "resume=/..." from the command line,
or the ancient hibernation from the swap partition? If the
hibernation, how did you remove it?
I removed the resume. I didn't think of removing the image from the
swap. This is conjecture, since I haven't done it, but you should be
able to swapoff the swap partition, mkswap the swap partition, and
swapon the partition again. See man swapon.
I don't have the kernel docs handy, but I think the resume parameter is
necessary to reboot from swap. Tim could be right, but I recall that
it was possible to recover from a faulty hibernate image, or skip
it, by removing the resume parameter so that normal boot would take
place. I haven't used hibernate for a long time, so memory only, and
could be wrong.