Summary

Support optionally creating swapfiles in the Ubuntu installer, in place of, or in addition to swap partitions.

Rationale

The Debian/Ubuntu installer partitioning will, by default, create a swap partition on the disk. If a user customizes the installation partitioning and does not create a swap partition, the Debian/Ubuntu installer warns the user that no swap space has been specified.

Swap files offers superior administrative flexibility over swap partitions, while performing equivalently. Swap partitions are very difficult to resize. Swap files can be easily resized and activated without rebooting.

Use Cases

Scope

The intention is to modify the Debian/Ubuntu installer to allow a manual partitioning user to create a swapfile instead of, or in addition to a swap partition. The "no-swap-check" should also be enhanced to check for both swap files and partitions.

This specification is not suggesting that the installer should use swap files rather than swap partitions by default.

Design

Create new helper shell utilities to be used by both the installer and administrators post-installation to:

Modify the Debian/Ubuntu installer:

Implementation

Not yet started.

Outstanding Issues

Ubuntu does not currently support hibernation/resume to swap files (see: 83325). This is of particular importance to WUBI-installed Ubuntu users, as WUBI uses swapfiles by default and Windows users are often disappointed by the lack of ability to hibernate/resume in their new Ubuntu installations.

Solving 83325 would significantly improve the user experience for Ubuntu swapfile users.

BoF agenda and discussion

References

SwapfileAtInstallation (last edited 2008-08-06 16:36:34 by localhost)