Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partition/drive detection broken for BootCamp Windows partitions #10

Open
srcshelton opened this issue Jul 1, 2012 · 0 comments
Open

Comments

@srcshelton
Copy link

---------------------------------------------------------
The following drives were found, please verify the name of the SD card in finder with the name under the 'Mounted On' column (after '/volumes/'):

Filesystem      Size   Used  Avail Capacity  Mounted on
Volumes/Windows 7
/dev/disk1s3   6.3Gi  6.2Gi   81Mi    99%    /Volumes/Mac OS X Install DVD
/dev/disk2s1    30Gi  2.1Mi   30Gi     1%    /Volumes/NO NAME
---------------------------------------------------------

I believe this is your SD card: /Windows is that correct? (Y/n) n

So the issues are:
(1) The BootCamp partition is auto-detected as the SD card;
(2) The name is then truncated from "/Volumes/Windows 7" to "/Windows"

'df -h' (which doesn't include unmounted volumes - the output below is with the SD card inserted) returns:

Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2   400Gi  321Gi   79Gi    81%    /
devfs          190Ki  190Ki    0Bi   100%    /dev
map -hosts       0Bi    0Bi    0Bi   100%    /net
map auto_home    0Bi    0Bi    0Bi   100%    /home
/dev/disk0s4    65Gi   31Gi   34Gi    48%    /Volumes/Windows 7
/dev/disk1s3   6.3Gi  6.2Gi   81Mi    99%    /Volumes/Mac OS X Install DVD

... but wouldn't using 'diskutil list' be better?:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            429.9 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data Windows 7               69.3 GB    disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *7.8 GB     disk1
   1:        Apple_partition_map                         30.7 KB    disk1s1
   2:         Apple_Driver_ATAPI                         1.0 GB     disk1s2
   3:                  Apple_HFS Mac OS X Install DVD    6.7 GB     disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *32.0 GB    disk2
   1:             Windows_FAT_32 NO NAME                 32.0 GB    disk2s1

... where '/dev/disk2' can still be identified as the correct target volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant