Bug 122101

Summary: Install fails if there are previous "version 0" swap-partitions
Product: [Fedora] Fedora Reporter: andreasp <wpt2097>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED NEXTRELEASE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-21 12:44:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 133260    

Description andreasp 2004-04-30 14:56:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b)
Gecko/20040421

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).

Suggestion:
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):


How reproducible:
Always

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 

Additional info:

Comment 1 Jeremy Katz 2004-05-06 22:11:51 UTC
Arjan -- did we lose support for these in the kernel?

Comment 2 Dave Jones 2004-05-07 22:03:43 UTC
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.


Comment 3 Jeremy Katz 2004-09-27 19:36:18 UTC
Added support to ignore version 0 swaps.