You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Created partition after bootcamp windows install - 'No Disk'

Had Windows 7 installed via bootcamp for some time and decided to go back into the mac OS and create another NTFS partition for extra storage and here I am 10 minutes later finding out this destroys the bootcamp partition.


Found this thread https://discussions.apple.com/thread/4144252?start=630&tstart=0


Setup:


Single 500GB drive

2 Partitions - 1 Mac OS, other Windows NTFS



sudo gpt -r -vv show disk0



gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 976773167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 162338320 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

162747960 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

164017496 323990184

488007680 488765440 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 15

976773135 32 Sec GPT table

976773167 1 Sec GPT header





sudo fdisk /dev/disk0



Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>

2: AF 1023 254 63 - 1023 254 63 [ 409640 - 162338320] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 162747960 - 1269536] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [ 488007680 - 488765440] Win95 FAT32L


iMac, Mac OS X (10.7.5)

Posted on Jul 24, 2013 1:55 AM

Reply
40 replies

Jul 26, 2013 3:27 PM in response to cranberry667

Oh jeez, another long standing annoying bug. So basically it's saying it's not recognizing the free space after the Recovery HD as valid space to re-expand the OS X volume back to the size it was. I thought maybe if it would do that, then you could retry Camptune.


In the past, I've looked at the number of sectors for the recovery hd partition (you can use gdisk or gpt commands to get that info), and then subtract that from the start value for the windows partition, to get the new start value for recovery HD. And then copy Recovery HD using dd, sector copy. Blow away the original. And now the freespace is right next to the OS X volume, and for some reason that satisfies diskutil resizevolume and it'll reabsorb the free space.


But honestly, you've paid for the product, I'd call or email Paragon and explain the present partition layout (you could give then gdisk's current o and p outputs, MBR and GPT respectively), tell them how Camptune is behaving, and the result you get and see if this is supported or not. If not, try to get a refund if you want. I mean, if it doesn't do what you need it to do... be a consumer.


And if that's how it turns out, then you're either back to Gparted, or backing up OS X and Windows, blowing away the disk and starting from scratch with the desired layout.

Jul 26, 2013 7:28 PM in response to cranberry667

I haven't had any issue with bootcamp up until now.


Basically Apple has given users a razor blade, and told them to go play on the freeway. When there's an accident, which in my opinion is inevitable because inevitably a reasonable user will want to reallocate space from one or the other environment, Apple provides no obvious way to do this except through Disk Utility. And Disk Utility, without warning, simultaneously makes Windows unbootable and also creates free space that can't then be reabsorbed back to OS X.


Anyway, you should still talk to Paragon so at least you can report back if they have a work around, because if they don't I'm not going to recommend it for this problem again.

Jul 27, 2013 2:41 AM in response to Christopher Murphy

If they can't fix the issue or don't want to because its not a high priority then why haven't they at least put a warning after Bootcamp Assistant is finished partitioning or when you load DU and it detects a Bootcamp partition.😕


I went back into DU to check if extending the OS X partition still wasn't possible and like before it reverted when I dragged to the boundary however when I tried extending in increments or to less than the limit, the process worked like it did before using the gdisk commands. I can't get it to absorb all the free space so there's something like 2-5GB left which I guess is storing data that DU can't detect?


Looks like Camptune is working now, been going for an hour or so. I'l report back when it finishes.


EDIT: It worked!


Screenshot shows the 2-5GB I can't occupy.


User uploaded file

Jul 27, 2013 1:12 PM in response to cranberry667

I can't answer your question, all I can tell you is I've filed two bugs: one for documentation to be more clear about what proscriptions there are related to Boot Camping a drive, and for Disk Utility to warn or disallow changes (short of blowing away the whole disk which it should still allow).


As for the 2-5GB that you can't use, it really isn't that difficult to move the Recovery HD partition to the end of that 2-5GB of free space, thereby making 2-5GB right after the OS X JHFS+ partition. Then diskutil resizevolume should allow the volume to be expanded into this free space. It also doesn't hurt to just leave it be. If you get to a situation where you need those 2-5GB, you're probably ready for a bigger drive anyway.

Jul 27, 2013 1:32 PM in response to Christopher Murphy

NTFS is a perfectly valid partition? so there is no reason to, and it does not look to see what is inside the partition.


I think at one time if you tried to use DU to repair NTFS you might get an alert, but people do use NTFS and have data partitions along with Paragon NTFS (which really seems to be the only or most reliable for 10.7.x and above).


Do we really want to lock down, dumb-down and make the OS into a restricted and somewhat crippled?


I think HFSX is constantly changing and evolving which does continue into 10.9.

Jul 27, 2013 1:41 PM in response to The hatter

NTFS is a perfectly valid partition? so there is no reason to, and it does not look to see what is inside the partition.


I don't understand the question or the comment. Any tool that creates a hybrid MBR needs to look at the partition type GUID and the file system header in order to set the MBR type code correctly because there isn't a 1:1 correlation. The same GPT GUID partition type code is used for FAT32 and NTFS, whereas for MBR they are different type codes. Apple is simply doing this incorrectly, among many other things in Disk Utility.


Do we really want to lock down, dumb-down and make the OS into a restricted and somewhat crippled?


Versus data loss? Yes. Apple's own technote about disks with hybrid MBRssays that utilities shouldn't modify them. Yet Disk Utility does modifiy such a disk, and data loss ensues, and can't be reversed with Disk Utility.


I think HFSX is constantly changing and evolving which does continue into 10.9.


Well, Apple isn't using HFSX by default, you have to ask for it. Currently it's only used for case-sensitive file system, although there is a flag that can be set to make it case-insensitive and still be HFSX. But for now Apple uses JHFS+ for case-insensitive and HFSX for case-sensitive. And due to various reasons HFSX breaks certain applications, top on my list is Photoshop.

Created partition after bootcamp windows install - 'No Disk'

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.