Currently Being ModeratedOct 25, 2013 3:25 PM (in response to frankywashere)
Thanks for this Franky, I followed your indtructions and I finally found the partition it could read. A couple of questions... (for you or anyone who knows)
MS Data 1173555200 1465147384 291592185
in the spot yours says HPFS-NTFS. Is that going to be a problem?
Also, the two numbers are the real start and end numbers with the third being the total in sectors? So these are the numbers I need to plug into gdisk, correct?
Currently Being ModeratedOct 25, 2013 3:32 PM (in response to Christopher Murphy)
Currently Being ModeratedOct 25, 2013 3:35 PM (in response to SumnerRain)
The HPFS-NTFS is on the previous screen, so if you chose quit from where you are now you'd see a list that includes HPFS-NTFS option with these same numbers.
1173554176 is the first sector of "free space" listed in the current wrong GPT, and 1173555200, and is only 512KB away and it's 1MB aligned. So there's a very good chance this is the true first sector for the missing Windows volume.
And 1465147384 is less than 1MB from the last usable sector of the drive, so that's also the likely true last sector for the missing volume.
So I'd go to gdisk, delete the current bogus partition 4, create a new partition 4, plug in these two values (the first two) as First and Last sector values when asked by gdisk. Again, 0700 is the type code. And then write it out and reboot. If Windows appears in the OS X Finder read only, then things are good. You'll either need to go back to gdisk to create a new hybrid MBR so that you can boot Windows. Or you can use this, each line if followed by a return
sudo fdisk -e /dev/rdisk0
[ignore the error message]
Currently Being ModeratedOct 25, 2013 4:28 PM (in response to Christopher Murphy)
I have never had to delete a partition, would I type "sudo gdisk /dev/rdisk0" in terminal and then d to delete partition 4?
Currently Being ModeratedOct 25, 2013 4:37 PM (in response to SumnerRain)
Yes. Once you're in gdisk you can hit ? <return> to list the menu of options. Pretty sure it's d <return> for delete and it'll prompt you for what partition to delete.
Also in the help menu is how to create a new one, which I think is n <return> for new and then you just follow the prompts. When you're done with that, you're back at a command prompt, so ? again to see the list of options if you want, and find the command to write out the changes which is w <return>.
Currently Being ModeratedOct 25, 2013 7:42 PM (in response to Christopher Murphy)
Alright, so I can see Windows at startup (both on the Startup Disk or holding down Option), I can see it in Finder under Devices as well as all of my files, but like on page 49 I only see a blinking cursor when I try to load it. (Origionally it told me no bootable device like the OP). http://www.tomshardware.co.uk/forum/209-69-windows-bootcamp-black-screen-blinkin g-cursor-ages-boot worked. I tried the steps in the link above, but when I got to chose the OS you wish to repair, it could not find any OSes. Any ideas?
ETA: I went back into gdisk and selected verify and I found
Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!
Identified 1 problems!
Currently Being ModeratedOct 25, 2013 9:53 PM (in response to Arvin KalEl)
You're going to have to post a coherent question if you want help.
Currently Being ModeratedOct 25, 2013 9:54 PM (in response to SumnerRain)
Did you follow these instructions?
sudo fdisk -e /dev/rdisk0
[ignore the error message]
Currently Being ModeratedOct 25, 2013 10:02 PM (in response to Christopher Murphy)
i installed my mavericks and my bootcamp partition disappeared. There were afew threads like this as well, i followed the commands and i managed to see my bootcamp partition when i press "alt". But the thing is it says "missing operating system". How now? and ive also downloaded testdisk but i have no idea what to do with it.
Currently Being ModeratedOct 25, 2013 10:03 PM (in response to Christopher Murphy)
I did, that is when it went from saying no bootable device, to the blinking cursor of doom and frustration. I noticed my sudo fdisk /dev/rdisk0 changed too. I thought of trying the advice you gave the OP and go through those steps, but I was worried I would break it more.
Macintosh:~ Heather$ sudo fdisk /dev/rdisk0
Disk: /dev/rdisk0 geometry: 91201/255/63 [1465149168 sectors]
#: id cyl hd sec - cyl hd sec [ start - size]
1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1171875000] HFS+
3: AB 1023 254 63 - 1023 254 63 [1172284640 - 1269536] Darwin Boot
*4: 07 0 0 0 - 0 0 0 [ 0 - 0] HPFS/QNX/AUX
Currently Being ModeratedOct 25, 2013 10:21 PM (in response to SumnerRain)
Ahh OK, so thte MBR has wrong information in it. You'll have to recreate a new hybrid MBR with gdisk. That's menu option r for recovery menu, and then h for new hybrid MBR. And that's when you input, when prompted (I'm unsure of the order) that you want the EFI GPT in MBR partition 1. You want partitions 2 3 4 in the hybrid MBR. Accept the default type/hex code for each partition, and you only want partition 4 marked as bootable. Then write out that new partition and then reboot.
Page 51 has the sequence on it with the answers in red.
Currently Being ModeratedOct 25, 2013 10:22 PM (in response to Arvin KalEl)
Well honestly go back to page 48 and start reading. If every person comes in here totally clueless and unwilling to make some effort before they ask questions, I'd be hanging around all night answering them and that's not going to happen. So if you can't make some effort, then you're better off doing the easy thing which is blowing away your whole disk, reformatting it, reinstalling OS X, redoing things from scratch with Boot Camp Assistant, reinstalling Windows from scratch, and then restoring your data from backup. That's easy. Tedious. But easy.
Currently Being ModeratedOct 25, 2013 10:39 PM (in response to Christopher Murphy)
Thank you so much!! As soon as you mentioned it was in red I knew exactly which fix you meant, and it worked perfect!! Windows is running flawlessly once again. I seriously appreciate the help you have given me today, you have been incredibly knowlegable and helpful today. After all this, I am turning off my computer and reading a book. LOL!!
Currently Being ModeratedOct 25, 2013 11:36 PM (in response to Christopher Murphy)
More Like This
- Retrieving data ...
- This solved my question - 10 points
- This helped me - 5 points