Results 1 to 3 of 3

Thread: Dual Boot Linux: Hibernate and Swap space

  1. #1
    Join Date
    Dec 2011
    Beans
    41

    Dual Boot Linux: Hibernate and Swap space

    I understand that in a dual boot situation, setting one of the OS to hibernate will leave a resume image that could get ugly is the other OS is booted while the hibernate image remains.

    So, is it a sound measure to provide two swap partitions, or does the kernel scan all swap rather then referring to /etc/mtab when looking for a resume image? Or do I need to adopt a policy of never letting either OS hibernate?

    Thanks

  2. #2
    Join Date
    Dec 2011
    Beans
    41

    Re: Dual Boot Linux: Hibernate and Swap space

    Ok, well I guess I will just never let them hibernate, since nobody has an answer.

  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dual Boot Linux: Hibernate and Swap space

    Ubuntu boots fast enough that I do not find much advantage to hibernation.

    Any auto installs will find all swaps, but if you edit fstab you can remove any or all swaps if you want.

    https://help.ubuntu.com/community/SwapFaq
    HOWTO: Use swapfile instead of partition and hibernate
    http://ubuntuforums.org/showthread.php?t=1042946

    But even if swap is not written into, any writes into the other install will corrupt hibernation and cause major issues. Best to then set any mount to read only. Even a separate shared partition if data is in hibernation may cause issues. I prefer to share data like my Firefox & Thunderbird profiles in every install including XP and multiple Ubuntu's. I cannot hibernate if I want the advantage of sharing data.

    I do not do it (yet), but many suggest virtual installs as a way to have both systems running. Then there is not rebooting. You do need a bit more RAM to maintain system functionality.
    https://help.ubuntu.com/community/Vi...x/Installation
    Last edited by oldfred; July 21st, 2012 at 06:26 PM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •