OK, wrote spec:
https://blueprints.launchpad.net/ubuntu/+spec/prevent-dual-boot-on-
hibernation
** This bug is no longer a duplicate of bug 80997
synchronizing file system while hibernating
** Summary changed:
- Hibernate will cause data loss on FAT with dual boot
+ Hibernate will cause data loss on share partitions with dual boot
** Summary changed:
- Hibernate will cause data loss on share partitions with dual boot
+ Hibernate will cause data loss on shared partitions with dual boot
** Description changed:
Binary package hint: acpi-support
- When hibernating Ubuntu while some FAT partition is mounted it seems to be
possible to boot the machine into some other 'OS' :) which can write to the
same partition. (dual boot) This will lead to severe data loss on that
partition.
+ When hibernating Ubuntu while some (shared) partition is mounted it seems to
be possible to boot the machine into some other 'OS' :) which can write to the
same partition. (dual boot) This will lead to severe data loss on that
partition.
This is a scenario which I think is quite offen used out there. There is at
least one guy that I know who was bitten by this on _two_ machines using dapper.
I wrote some scriptlets that do the following:
(1) try to umount all partitions not essential for ubuntu
(2) roll back hibernate in case this is not possible (open files etc.)
(3) mount partitions again on resume
(There are still some BUGs inside:
- should handle partitions without proper fstab entry too
- should run only when suspend to disk not when suspend to ram
- should display some message to the user when aborting
)
I tried hibernating on up to date feisty without this and with some file
open on FAT partition and it seemed not to try umount nor doing anything
to prevent me from running into this.
Additionally I think there should be a big/fat warning during
installation to tell the user to use hibernation with extreme care on
the other OS (or better disable it) if the is such one installed.
--
Hibernate will cause data loss on shared partitions with dual boot
https://launchpad.net/bugs/91861
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs