Re: System always "Resumes from hibernation" on startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 01 Jul 2021 17:25:30 -0700
Jonathan Ryshpan <jonrysh@xxxxxxxxxxx> 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@xxxxxxxxxxx> 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.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux