Suspending to swap with two OS's

Dotan Cohen dotancohen at gmail.com
Sun Jul 15 20:45:39 UTC 2007


On 15/07/07, Luciano Rocha <strange at nsk.no-ip.org> wrote:
> 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.
>

Thanks, that's what I'll do then. Shared swap partition, and shutdowns
instead of hibernation if I'm booting a different distro.

Thanks!

Dotan Cohen

http://lyricslist.com/
http://what-is-what.com/




More information about the fedora-list mailing list