Hibernate and GRUB

Patrick fedora-list at puzzled.xs4all.nl
Tue Jul 25 11:26:50 UTC 2006

On Tue, 2006-07-25 at 12:17 +0100, Leon Stringer wrote:
> On Tue, 2006-07-25 at 10:09 +0100, Chris Jones wrote:
> > I think the grub menu is hidden to prevent users from accidentally 
> > rrestarting with a different kernel to that running when they 
> > hibernated, which causes no end of pain (if the share the same swap 
> > area, which almost all do). To my mind this is a good thing, but does 
> > mean you have to do a full reboot to get the grub menu to get into 
> > windows, if thats what you want.
> > 
> > Note that in FC we do NOT use swsusp2, but the in-kernel suspend 
> > functionality. I'm not sure of the technicalities but they are 
> > completely different beasts and might explain the differences. What 
> > happens with swsusp2 if you have multiple linux kernels ? What happens 
> > if you choose the wrong one on resume - How does it prevent corruption ?
> Thanks for your reply.
> I don't know but I would guess that swsusp2 would have similar problems
> if you booted with a different kernel version and this seems reasonable.
> I would disagree with the above rationale for hiding the GRUB menu. Only
> advanced users would have multiple kernels and could be expected to be
> aware of the need for booting with the same kernel. Indeed the hibernate
> process could tag the sleeping kernel in the GRUB menu which is then
> reverted when that kernel is booted.
> Non-advanced users would only have one current kernel and thus wouldn't
> be affected by these issues.

Afaik "yum update kernel" ensures there are always two kernels
installed. So it will retain the most recent (running) one, remove any
older kernel(s), install the new one and make it the default. In case
there is an issue with the new one you can still boot the old one and
have an operational system to fix the issue.


More information about the test mailing list