Bug 1413796

Summary: USB stick restore feature uses incorrect type code, macOS wants to initialize the stick
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: mediawriterAssignee: Martin Bříza <mbriza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mbriza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mediawriter-4.1.0-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-27 03:01:25 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:

Description Chris Murphy 2017-01-17 00:26:36 UTC
Description of problem:

Using the restore stick feature results in fdisk type code 83 (Linux) being used instead of either OB or OC. Windows may not recognize type code 83; for sure macOS does not and asks the user to initialize the disk.


Version-Release number of selected component (if applicable):
mediawriter-4.0.8-0.fc25.x86_64

How reproducible:
Always. Not a regression.


Steps to Reproduce:
1. After putting a live image on a USB stick, insert it with FMW running.
2. Acknowledge Restore option for the stick.
3.

Actual results:

fdisk type code for the partition created on the stick is 83. macOS recognizes this as a Linux type code and won't mount (automatically or manually) the stick.

Expected results:

Type code should probably be 0B; or possibly 0C. I've tried both on macOS and both work.

Additional info:

Comment 1 Martin Bříza 2017-01-17 08:08:45 UTC
Chris, thanks for noticing.
I fixed this upstream.

Comment 2 Fedora Update System 2017-05-18 14:49:03 UTC
mediawriter-4.1.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dade9f0f49

Comment 3 Fedora Update System 2017-05-20 01:05:53 UTC
mediawriter-4.1.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-dade9f0f49

Comment 4 Fedora Update System 2017-05-27 03:01:25 UTC
mediawriter-4.1.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.