Bug 874189

Summary: Swap partition from previous installation cannot be removed from current partitioning
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, dshea, Gecko8211, g.kaviyarasu, jonathan, mbanas, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-13 21:02:17 UTC Type: Bug
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: 920667    
Attachments:
Description Flags
program.log
none
storage.log none

Description Jan Stodola 2012-11-07 16:41:51 UTC
Description of problem:
When one tries to install F18 on a machine that already has some swap partitions created, anaconda always includes them in new partitioning. When I try to remove that swap from current partitioning, nothing happens.

Version-Release number of selected component (if applicable):
anaconda-18.24

How reproducible:
always

Steps to Reproduce:
1. install system on a machine, create swap partition and leave some free space for new installation
2. start new installation in graphical mode, proceed to custom partitioning
3. create / mount point
4. swap partition from previous installation is automatically added to the new partitioning
5. select that swap and click on "-" to remove it from current partitioning
  
Actual results:
swap partition is still present in current partitioning

Expected results:
swap partition is removed from current partitioning (but not from disk)

Comment 2 Jan Stodola 2012-11-07 16:43:47 UTC
Created attachment 640196 [details]
program.log

Comment 3 Jan Stodola 2012-11-07 16:43:59 UTC
Created attachment 640197 [details]
storage.log

Comment 5 David Lehman 2012-11-07 22:20:30 UTC
Removing preexisting devices from the new install subtree does not actually delete them. To delete a preexisting device, hit the remove button while you have the device highlighted in the unknown or previous install's subtree.

Comment 6 Martin Banas 2012-11-08 07:45:33 UTC
I have ubuntu installed, together with Fedora. I'm in ubuntu, now I want to switch to Fedora, so I'll suspend ubuntu to disk (to SWAP). Start fedora. In case of shared swap it doesn't work.

Anaconda should ask whether to use SWAP from preexisting installations or not.

Comment 7 David Shea 2013-09-13 21:02:17 UTC
Booting into another OS after suspending to disk is likely to result in data loss whether you're sharing a swap partition or not.

Comment 8 Martin Banas 2013-09-16 09:11:43 UTC
(In reply to David Shea from comment #7)
> Booting into another OS after suspending to disk is likely to result in data
> loss whether you're sharing a swap partition or not.

Why? Can you share more information? I always supposed, that if I use different partitions (including swap), I should not loose any data.


Btw, you can "not use" any other partition in manual partitioning (e.g. /home), so why anaconda force user to use swap?