Red Hat Bugzilla – Bug 746295
virt-make-fs doesn't set partition ID
Last modified: 2011-10-21 11:03:33 EDT
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):
Steps to Reproduce:
1. Use virt-make-fs to create a Windows filesystem.
2. Attach it to a Windows guest.
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.
We can't fix Windows, so we have to fix virt-make-fs instead.
Linux naturally doesn't care.