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

Re: increasing time spent on grub during pm-hibernate

Konstantin Svist wrote:

> And it's not necessarily limited to minor corruption - the
> whole filesystem could get corrupted, you could lose EVERYTHING on it.
> Even if you just want to boot to Windows, you usually have a few
> different kernel versions in grub. If you chose one of those by
> accident, you would get this nasty surprise, too.

I think that the new kernel will simply refuse to load the hibernated
image and boot normally (as after an improper shutdown).

> Plus, even though
> windows rarely mounts linux partitions, linux could have easily had the
> windows partition mounted (to read/write the documents).

Yes. But if you do not have windows partitions mounted and you hibernate
and reboot to do something in windows, grub will immediately
try to resume, you understand what happens and try to shutdown everything
before the kernel actually runs. If you are lucky you power on
again, you manage to have to grub menu shown by pressing one key
and you boot windows and then resume Linux. If you are unlucky,
the resume image is not usable anymore (the system has been resumed and
then powered off) and you lose all the session you wanted to
preserve. And that's an additional case of "inexperienced users
can do stupid things, so we have to block experienced users
doing smart things".
(I used to run tuxonice and this "holding-hands" stuff was not there,

Best regards.

   Roberto Ragusa    mail at robertoragusa.it

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