Bug 15240 - auto-partition adds swap partition to install media
Summary: auto-partition adds swap partition to install media
Status: RESOLVED DUPLICATE of bug 14435
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 4
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 02:15 CET by brian peterson
Modified: 2015-02-18 10:29 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


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