Suspending to swap with two OS's

Luciano Rocha strange at nsk.no-ip.org
Sun Jul 15 16:53:25 UTC 2007


On Sun, Jul 15, 2007 at 04:58:32PM +0200, Dotan Cohen wrote:
>  On 15/07/07, Luciano Rocha <strange at nsk.no-ip.org> wrote:
> > Do not access drives under an OS that were in use in the other suspended
> > one, or you risking losing all your data.
> >
> 
>  I see. I actually will need to access /home/user.
> 
>  If I'm careful to _always_shut_down_ instead of suspending when I
>  intend on switching distros to boot, will I then be safe to:
>  1) Use the same swap partition for both distros?
>  2) Access the same drives?

Yes, to both. The problem with hibernation would be that when resuming
the kernel will have an erroneous idea of the state of the filesystems
it was using. So it could try to assign a new inode or data block that
was already in use, due to changes made while it was in hibernation. (Or
free what was already free or part of something else.)

In a full start, in opposition to a resume from hibernation, the kernel
will have no previous assumptions about the filesystems and work
correctly.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070715/4caea790/attachment-0001.sig>


More information about the fedora-list mailing list