[TuxOnIce-devel] swap partition broken

Gnata Xavier xavier.gnata at gmail.com
Fri Feb 15 22:28:41 UTC 2008


Tino Keitel wrote:
> On Thu, Feb 14, 2008 at 14:12:29 +0100, Xavier Gnata wrote:
>
> [...]
>
>   
>> Sorry. Now it works just well.
>> They should really add this script into the ubuntu boot sequence....I´m
>> going to ask once again...
>>     
>
> Boot sequence? Do you mean an initscript? This would be the wrong
> place, as it implies that at least the root partition is already
> mounted. However, triggering a resume after a file system was mounted
> is harmful. The filesystem was not in a clean state when the system was
> suspended. As even mounting a filesystem read-only implies write
> operations (at least the journal is touched), the system uses wrong
> data after resume, as the filesytem on disk was modified between
> suspend and resume.
>
> The resume should always be triggered either bei the kernel itself, or
> from an initrd (before any filesystems are mounted) if any userspace
> actions are necessary before resume.
>
> Regards,
> Tino
>
> _______________________________________________
> TuxOnIce-devel mailing list
> TuxOnIce-devel at lists.tuxonice.net
> http://lists.tuxonice.net/mailman/listinfo/tuxonice-devel
>   
Hi,

Here it is :
http://wiki.tuxonice.net/DistroAndHardwareSetup/Ubuntu_Gutsy_Gibbon

so yep initramfs-tools/scripts. It is part of the "boot sequence" anyway ;)

Regards,
Xavier



More information about the TuxOnIce-devel mailing list