Bug 746295 - virt-make-fs doesn't set partition ID
Summary: virt-make-fs doesn't set partition ID
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-14 17:20 UTC by Richard W.M. Jones
Modified: 2011-10-21 15:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-21 15:03:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-10-14 17:20:16 UTC
Description of problem:

virt-make-fs should set the partition ID (for MBR, or whatever
the equivalent is for GPT).  The problem at the moment is that
if you create a filesystem containing FAT or NTFS, then Windows
guests refuse to "see" the filesystem until you manually set
the partition type.

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

1.13.21

How reproducible:

100%

Steps to Reproduce:
1. Use virt-make-fs to create a Windows filesystem.
2. Attach it to a Windows guest.
  
Actual results:

Windows guest doesn't see any content and refuses to mount
the partition, until you set the partition type byte, eg.
setting it to 7 if it's NTFS.

Expected results:

We can't fix Windows, so we have to fix virt-make-fs instead.

Additional info:

Linux naturally doesn't care.


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