Bug 473502 - Preserving partitions during install obscure or awkward; Disk Druid
Summary: Preserving partitions during install obscure or awkward; Disk Druid
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: AnacondaUI
TreeView+ depends on / blocked
 
Reported: 2008-11-28 22:37 UTC by Stephen P. Schaefer
Modified: 2009-09-09 17:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-09 09:36:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen P. Schaefer 2008-11-28 22:37:30 UTC
Description of problem:
During install, it was non-obvious how to prevent wiping the /home partition

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


How reproducible:
Always

Steps to Reproduce:
1. Boot from Fedora 10 install media
2. Choose Install
3. At Disk Druid, choose custom partitioning
4. Disk Druid discovers existing partitions
5. ?
  
Actual results:
It appears any defined partition (esp. ext3) will get reformatted

Expected results:
*Desired* result: A "Protect Partition from changes" status

Additional info:
I would have felt safe deleting the /home partition and then defining it again later in the MBR, but yuck.  I felt frightened that anything left defined as ext3 would get mke2fs'd.  I cancelled out and did an upgrade instead of an install.  Since "install" instead of "upgrade" is recommended, the procedure for doing this highly common procedure should be highlighted in the documentation instead of obscure or missing.

Comment 1 Nicolas Troncoso Carrere 2008-11-30 15:06:20 UTC
There are aditional artifacts for diskdruid:
Pre-install layout:
/dev/sda1 /boot
/dev/sda2 / (encrypted dm-crypt)
/dev/sda3 swap (encrypted dm-crypt)
/dev/sda4 /home (encrypted dm-crypt)

When instructing drisk druid to format and encrypt /dev/sda2 / it does not update the icons status that notify of formating and encription. 

It does this properly for /dev/sda1 /boot and /dev/sda3 swap.

If you delete the /dev/sda2 partition and recreate, format and encrypt it will update the status icons.

Comment 2 Joel Andres Granados 2009-09-09 09:36:47 UTC
(In reply to comment #0)
> Description of problem:
> During install, it was non-obvious how to prevent wiping the /home partition

I beg to differ.  If you don't want to format it, just don't edit it (with the condition that you did not choose to autopartition).  And, If you chose an autopartition option ("Use entire drive", "Replace existing Linux system"), it is obvious that your /home is most probably going to get formatted.

> 
> Actual results:
> It appears any defined partition (esp. ext3) will get reformatted

This is not the case.  When you select *only* custom partitioning everything starts off as we detect it.  If you choose to some default partitioning scheme and accept to review the layout after the autopartitioning is done, the devices to be formatted are chosen automatically.

In the case where the user wants full control of the installation, like your case, he/she should choose the custom layout and be very specific about what is wanted.  I don't see what is awkward or obscure about that.

With respect to the second comment.  Pls open a new bug if this is still the case with f12 alpha.

Comment 3 Stephen P. Schaefer 2009-09-09 17:05:39 UTC
During the F10 install, Disk Druid said it was going to mkfs "ext partitions".  It nowhere indicated it was going to exclude existing partitions.  If the GUI has been clarified since, good.


Note You need to log in before you can comment on or make changes to this bug.