Red Hat Bugzilla – Bug 122101
Install fails if there are previous "version 0" swap-partitions
Last modified: 2007-11-30 17:10:41 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b)
Description of problem:
Install fails when anaconda tries "swapon" and there are already
existing swap-partitions (version 0) from other distributions. The
message was "Please reboot" (or something, sorry, don't remember).
When anaconda looks for swap-partitions to activate, make sure they
are compatible with the current kernel.
Make anaconda only activate "version 1+" swap-partitions if it finds
any, and if none is found ask to initialize "version 0" swaps and tell
user it might cause a problem with previously installed distributions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have an 2.4-based distribution already installed on a system
2. Make sure it has a "version 0" swap-partition
3. Try to install FC2t3
Actual Results: Dialog that asks me to reboot and try installing again.
Expected Results: Start of package installation
Arjan -- did we lose support for these in the kernel?
Correct. From http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
- Version zero swap partitions are no longer supported (everything is
using v1 now anyway - rerun mkswap if in doubt).
Linux 2.0.x requires v0 swap space, Linux v2.1.117 and later
support v1. mkswap(8) can format swap space in either format.
Added support to ignore version 0 swaps.