Can't see logical Windows NTFS partition in OS X

3

2

I have installed Mac OS X in my MacBook Pro. I have installed Windows 7 on the same machine but by creating a separate partition.

Is there any way I can access files (like mp3 files or photos, etc.) of my Windows partition in Mac OS X and vice versa?

The output of diskutil list command:

Last login: Tue Aug 16 13:37:08 on console
theali:~ SAli$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS MacOSx                  150.0 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:       Microsoft Basic Data BOOTCAMP                169.2 GB   disk0s4

and the Windows partitions are formatted using NTFS. You can see these here:

enter image description here

Safran Ali

Posted 2011-08-15T13:23:51.470

Reputation: 816

1When you open your Macintosh HD in Finder, can't you see the Windows partition there? – slhck – 2011-08-15T13:32:21.420

no, I can't ... – Safran Ali – 2011-08-15T13:38:21.617

Make sure your Finder preferences are set so that you can see hard drives as well... just in case. Enter Disk utility and check if the windows disk is there. – Vervious – 2011-08-15T15:57:47.243

@slhck ... sorry it is showing the Bootcamp partition but initially bootcamp has single partition which I divided into 2 after installing windows, using disk management ... so now it's only showing the partition where windows is installed and not showing the second partition i created ... – Safran Ali – 2011-08-16T10:28:40.750

i have edited the question with the output you asked for ... – Safran Ali – 2011-08-16T14:24:16.667

When you enter open /Volumes/BOOTCAMP, what happens? – slhck – 2011-08-16T15:06:08.083

as I said I can see the partition which has windows in that, but the second partition I created after installing windows is not available or viewable – Safran Ali – 2011-08-16T15:08:12.803

Hmm. From the partition table diskutil has, there is only one Windows partition. If you sum up the GBs, you get to 320. Where should there be another partition? How does it look like in Windows exactly? (btw. please mention me with @slhck otherwise I don't get a notification) – slhck – 2011-08-16T15:26:57.457

@slhck now you can see the partition info in the picture I added in the question, the logical drive partition named B is not visible in Mac OSX – Safran Ali – 2011-08-17T04:07:01.060

Answers

2

Given your latest screenshot, the answer is quite simple – but the solution isn't. First of all, Windows and OS X use different partition tables. Windows uses the Master Boot Record (MBR), whereas OS X uses the GUID Partition Table (GPT).

When you installed Boot Camp, the disk was converted into a "hybrid" one using both MBR and GPT. This is partly explained here.

You seem to have created a Logical Partition, which is part of the Extended Partition. the changes in Windows are written to the Master Boot Record. However, OS X won't recognize these changes in its GPT, as it hasn't been updated.

Simply speaking, your extended BOOTCAMP partition is recognized as 320GB in OS X, as OS X can't identify the logical partition you created in Windows yet.

What can you do?

I guess there is only one option: Update the GPT entries. This isn't trivial though and I probably can't help you as I've personally never done this. It is somewhat described in this VMware Fusion thread, but heavily depends on your individual setup. Not to mention you can break things in the process.

slhck

Posted 2011-08-15T13:23:51.470

Reputation: 182 472

thanks ... it sure tells you how to modify the GPT but I am not gonna try this on my current machine as it says it might invalidate the GPT so will leave it for later and try on some other test machine ... – Safran Ali – 2011-08-17T20:25:27.010

I'm really sorry I can't help you any further. You can try to make a 1:1 backup of your hard disk using Clonezilla just in case you don't want to screw things up.

– slhck – 2011-08-17T20:26:31.057

1

I would recommend OSXFUSE now instead of MacFUSE, as MacFUSE hasn't been updated since 2009 and OSXFUSE has taken up the cause.

FUSE for OS X allows you to extend Mac OS X's native file handling capabilities via third-party file systems. OSXFUSE is a successor to MacFUSE, which has been used as a software building block by dozens of products, but is no longer being maintained.

hisnameisjimmy

Posted 2011-08-15T13:23:51.470

Reputation: 207

1

The solution is to install rEFIt. It has an option to sync your GPT and MBR table. Just go to google, type download refit mac and you are presented with the download link. Once installed, reboot your mac twice. This makes rEFIt work. When you then reboot, you will be able to go to a screen which shows your mac and windows. Use the right arrow to navigate to the little drive icon in the lower row and hit enter. You will be presented with the question: Sync MBR? [y/n]

Hit yes, and its updated and synced properly. Now you can see your NTFS drive in MacOS.

To get write-access to it, use OSXFuse.

Ingwie Phoenix

Posted 2011-08-15T13:23:51.470

Reputation: 1 187

0

I was fiddling around to find a better approach and I found about MacFuse

http://code.google.com/p/macfuse/

and Amit Singh's NTFS RW driver:

http://macntfs-3g.blogspot.com/

Safran Ali

Posted 2011-08-15T13:23:51.470

Reputation: 816

Was it able to read that? – slhck – 2011-08-21T12:18:02.480