Bootcamp Partition No Longer Mounted

I have a very similar problem to what was discussed in this forum: Boot Camp Partition not mounting. I had Sierra, and Bootcamp was working fine. While I had Sierra, I used a tool called MiniTool Partition Wizard to resize my bootcamp disk without deleting Windows, and that worked fine. However, I just upgraded to High Sierra, and now my Bootcamp disk is not mounted, and it has been renamed to "disk0s3" as shown in the figure below. I tried to follow the steps in the post I mentioned earlier, but I think my problem is different enough such that those steps don't quite do it. Any suggestions? Thank you. User uploaded file

MacBook Pro, macOS High Sierra (10.13.4)

Posted on Apr 28, 2018 2:47 PM

Reply

Similar questions

91 replies

Apr 30, 2018 7:17 PM in response to howie8594

You are being offered the original macOS version which shipped with your Mac. Do you have an external disk which 32GB or larger? If yes, can you use How to reinstall macOS - Apple Support and re-install the offered version on the external disk, do not touch the internal disk in any way. Upgrade the external disk to High Sierra, and then we can fix the issue with macOS first.

Apr 28, 2018 8:07 PM in response to Loner T

Thanks LonerT for your help. I really appreciate it.


After looking through a few threads, I think I figured out what you were saying. First, I opened Testdisk and selected the default option. Then this screen came up.


User uploaded file

I selected the default. Then,


User uploaded file

I hit continue. Then,


User uploaded file

I selected EFI/GPT since that's what you said in the other post, and it makes sense given that I'm looking for a partition. Then,


User uploaded file

I selected "Analyse". Then,


User uploaded file

I selected "Quick Search" at the bottom. Then, after about 3 minutes, this came up:


User uploaded file

Thanks again.

Apr 30, 2018 6:18 PM in response to Loner T

Haha gotcha. Here's what that did: (The unmount failed the second time but maybe that's to be expected.)


-bash-3.2# diskutil unmountDisk disk0

Unmount of all volumes on disk0 was successful

-bash-3.2# gpt destroy /dev/disk0

gpt destroy: /dev/disk0: Suspicious MBR at sector 0

-bash-3.2# gpt create -f /dev/disk0

gpt create: /dev/disk0: Suspicious MBR at sector 0

-bash-3.2# diskutil unmountDisk disk0

Unmount of disk0 failed: at least one volume could not be unmounted

-bash-3.2# gpt add -i 1 -b 40 -s 409600 -t efi /dev/disk0

/dev/disk0s1 added

-bash-3.2# diskutil unmountDisk disk0

Unmount of all volumes on disk0 was successful

-bash-3.2# gpt add -i 3 -b 714960896 -s 222740473 -t windows /dev/disk0

/dev/disk0s3 added

-bash-3.2# gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=480103981056; sectorsize=512; blocks=937703088

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 937703087

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

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

409640 714551256

714960896 222740473 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

937701369 1686

937703055 32 Sec GPT table

937703087 1 Sec GPT header

Apr 30, 2018 6:41 PM in response to Loner T

Ok.


-bash-3.2# diskutil repairDisk disk0

Repairing the partition map might erase disk0s1, proceed? (y/N) y

Started partition map repair on disk0

Checking prerequisites

Checking the partition list

Adjusting partition map to fit whole disk as required

Checking for an EFI system partition

Checking the EFI system partition's size

Checking the EFI system partition's file system

Checking the EFI system partition's folder content

Checking all HFS data partition loader spaces

Checking booter partitions

Reviewing boot support loaders

Checking Core Storage Physical Volume partitions

The partition map appears to be OK

Finished partition map repair on disk0

May 1, 2018 9:55 AM in response to howie8594

howie8594 wrote:


Question though: I know this is a long shot, but is it possible to resize the bootcamp partition again before activating it using the Gdisk steps? I'm actually running out of space again, and I'd like to give it an extra 30 or 40GB if possible. But that's not a big deal at all. Just a thought.

You may want to invest in a tool like Winclone. It is much easier to backup/restore Windows than to play games with partitions via MPT.

Apr 29, 2018 11:57 AM in response to Loner T

Oh that makes sense, of course. Ok, here's the line of screenshots again. The highlighted options indicate the options I selected (starting with the step after selecting 'Sudo'). I'm not sure if I was supposed to select 'disk0' or 'rdisk0', but I selected 'disk0'.


User uploaded file


User uploaded file


User uploaded file


User uploaded file


User uploaded file


Then, after about 40 minutes this time, this came up:

User uploaded file


Should I hit 'Continue'?

Apr 30, 2018 9:52 AM in response to Loner T

Ok so just to clarify, you're saying that in the post you mentioned earlier (Re: El Capitan has deleted my bootcamp windows partition), the steps are the same except I enter the number 2 for steps 4 and 6 (instead of the number 4 like that post says), and I enter the numbers you specified for steps 7 and 8 (without the '+' sign)? Do I use the delete command (letter 'd') for step 3?


Then after that, restart the computer in macOS to make sure it's working?


And then if macOS appears to work okay, restart again and try bootcamp?


Thanks.

Apr 30, 2018 1:57 PM in response to Loner T

Oh I see what you're saying. Ok cool. I figured I should be very careful doing this because it sounds like if I make a mistake, I could lose that bootcamp partition. So I went through those steps for the 2nd partition (haven't gotten to the 3rd yet). I stopped before step 12 for now just to be safe.


User uploaded file


So I have a couple questions:


1. Do I enter 'y' right here? In other words, if I'm changing BOTH the second and third partitions like you said, do I run through all 12 steps from the other post twice? Or do I stop at step 9 (or some other step) when I'm changing the 2nd partition and then go through all 12 steps with the 3rd partition? It's unclear to me whether I'm supposed to write the new GPT after changing the 2nd partition but before changing the 3rd partition, or if I'm supposed to change both the 2nd and 3rd partitions before writing the new GPT. Hopefully that makes sense.


2. Similarly, do I re-write the MBR to match the new GPT information both times? Do I run through those 14 steps twice, or do I just do those steps once after changing the GPT for both partitions?


Thanks for clarifying.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Bootcamp Partition No Longer Mounted

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