Bug 15240

Summary: auto-partition adds swap partition to install media
Product: Mageia Reporter: brian peterson <brianpeterson2>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: 4   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description brian peterson 2015-02-09 02:15:44 CET
Related: https://bugs.mageia.org/show_bug.cgi?id=15239

I suppose if there is a check on the install media, as related to bug 15239, there could be any prevention of the install accidentally writing on its own media.

This auto-partitioning bug is somewhat similar, where the installer attempts to write back on its media, -- it suggests creating a swap partition on a usb-ready Mageia installer when it really shouldn't.

Here two USB sticks (SATA chipset disabled in bios) were used as a test.
The issue was occuring while the install media was seeing itself as "/dev/sdc" .. I would suspect auto-partitioning to only be done where the drive is currently on-view but it looks like a swap partition was auto-suggested on the install media.  

The installer actually stopped with a warning complaining about "/dev/sdc5" on the usb install media(auto-partitioning didn't complete) .. "/dev/sdc" was looked at and I saw the suggestion of a swap partition. This to me is not acceptable because the install media can get damaged, for CD-installs this would never happen since it's a ro media.. so perhaps there's something that can be done such that the installer treats its own media entirely as read-only..

and thanks :)


Reproducible: 

Steps to Reproduce:
Comment 1 Thierry Vignaud 2015-02-18 10:29:35 CET
Actually I think it's a side effect of bug #14435 which broke detecting USB devices

*** This bug has been marked as a duplicate of bug 14435 ***

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => DUPLICATE