(忘記說(shuō)了 -- 此法有危險(xiǎn),記得備份所有資料。。。)
OSX升級(jí)到10.10.1后,突然發(fā)現(xiàn)在OSX下看不到Bootcamp設(shè)備了。想來(lái)這半個(gè)月就用過(guò)三次Win8.1,而且也沒(méi)做啥過(guò)分的操作,怎么就看不見(jiàn)了呢?
折騰一下午,還是沒(méi)有搞定,但發(fā)現(xiàn)一片好文
https://discussions.apple.com/thread/4871585,其他提到的問(wèn)題跟我這一樣,很是歡喜。
“
The problem is that the tool you used to resize the NTFS volume updated the MBR but didn't update the GPT. OS X only uses the GPT, and since the partition is invalid in the GPT, the NTFS volume doesn't mount. ”
沒(méi)看太明白,意思應(yīng)該是MBR跟GPT不一致了。
下面是正常的gpt數(shù)據(jù):
Jies-MacBook-Pro:~ Jie$ sudo gpt -r -vv show disk0
gpt show: disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 1953525167
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 1451847864 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1452257504 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1453527040 499996672 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953523712 1423
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
這個(gè)是有問(wèn)題的:(我自己的忘記記錄了,這里是copy文章里面的)
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 586340368 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
586750008 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
588019544 168
588019712 144130048 4
732149760 244623360 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
976773120 15
976773135 32 Sec GPT table
976773167 1 Sec GPT header
可以發(fā)現(xiàn)GPT數(shù)據(jù)不連續(xù),導(dǎo)致系統(tǒng)無(wú)法正常mount分區(qū)。
問(wèn)題是這樣,但我搞不懂文章中的修復(fù)方式,望文興嘆了半天。忽然想起,既然是磁盤(pán)分區(qū)導(dǎo)致的問(wèn)題,那重新分區(qū)該就好了。于是就干起來(lái)。。。
當(dāng)然我不能刪除原來(lái)的Bootcamp,那上還有很多同學(xué)要的C#代碼呢。所以呢,走個(gè)旁道 -- 用DiskUtil先從原來(lái)Machintosh HD分區(qū)再劃分個(gè)小分區(qū)來(lái),然后再刪除掉這個(gè)小分區(qū),這樣系統(tǒng)就會(huì)重新刷新分區(qū)數(shù)據(jù)。
系統(tǒng)重啟, sudo mount -t ntfs /dev/disk0s4 /Volumes/BOOTCAMP, 于是我又看見(jiàn)了我的BOOTCAMP設(shè)備了。bingo,搞定了。。。
<---- 回頭再說(shuō)的分割線 ---->
這段日子,很長(zhǎng)的一段日子過(guò)去了,只是今天還是沒(méi)心情做個(gè)說(shuō)明,下次吧。。。可以說(shuō)的 --- 我依然奮斗在敲字的第一線。