Comment 19 for bug 66637

Revision history for this message
peridot (peridot-faceted) wrote : Re: swap not being mounted on boot

Upon upgrade from a clean dapper install to the released version of edgy, this problem occurs. Suspend work ed the first time but I can't resume, and now I have no swap.

I can fix it by doing mkswap, and I plan to (as outlined in the steps above), but it would be nice if upgrading dapper users were not all burned by this.

Also note: after booting without resume=..., if the swap partition contains a valid resume image *it is dangerous to resume from it*. If you do, the kernel will have a different picture of the filesystem and its buffers than exists on disk and *filesystem corruption may result* (see the swsusp2 FAQ). One hopes the kernel is smart enough to mark the resume partition as out-of-date to avoid this pitfall.