Mac OS X磁碟重新分區後 BootCamp Windows啟動項丟失

來源:互聯網
上載者:User

標籤:sse   共用   csr   工具   hint   hang   for   sudo   soft   

前言

我有一台Mac,裝有OS X和Windows兩系統,因Windows和OS X都能讀寫exFAT分區,

故若在Machintosh HD和Windows HD之間開闢一個exFAT分區,可以作為共用檔案區。

我在OS X中用磁碟工具對Machintosh HD進行分區,在Machintosh HD和Windows HD之間開闢一個exFAT分區。

重啟啟動時,我按住了option,之後出現的啟動選項中沒有Windows。這因為剛才給磁碟分了區才導致的。

解決

重啟MAC ,按住COMMAND+R進入復原模式,開啟Terminal

csrutil disable #關閉rootless

 

修改完,重啟MAC,開啟終端

sudo fdisk -e /dev/disk0

yanghaodeMacBook-Pro:~ yanghao$ sudo fdisk -e /dev/disk0Password:fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directoryEnter ‘help‘ for informationfdisk: 1> pDisk: /dev/disk0    geometry: 30515/255/63 [490234752 sectors]Offset: 0    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: AC 1023 254  63 - 1023 254  63 [    409640 -  183869624] <Unknown ID> 3: AB 1023 254  63 - 1023 254  63 [ 184279264 -    1269536] Darwin Boot *4: 07 1023 254  63 - 1023 254  63 [ 185548800 -  304685056] HPFS/QNX/AUXfdisk: 1>    

 修改分區表

fdisk: 1> pDisk: /dev/disk0    geometry: 30515/255/63 [490234752 sectors]Offset: 0    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: AC 1023 254  63 - 1023 254  63 [    409640 -  183869624] <Unknown ID> 3: AB 1023 254  63 - 1023 254  63 [ 184279264 -    1269536] Darwin Boot *4: 07 1023 254  63 - 1023 254  63 [ 185548800 -  304685056] HPFS/QNX/AUXfdisk: 1> setpid 4         Starting       Ending #: id  cyl  hd sec -  cyl  hd sec [     start -       size]------------------------------------------------------------------------*4: 07 1023 254  63 - 1023 254  63 [ 185548800 -  304685056] HPFS/QNX/AUXPartition id (‘0‘ to disable)  [0 - FF]: [7] (? for help) 07fdisk: 1> flag 4Partition 4 marked active.fdisk:*1> pDisk: /dev/disk0    geometry: 30515/255/63 [490234752 sectors]Offset: 0    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: AC 1023 254  63 - 1023 254  63 [    409640 -  183869624] <Unknown ID> 3: AB 1023 254  63 - 1023 254  63 [ 184279264 -    1269536] Darwin Boot *4: 07 1023 254  63 - 1023 254  63 [ 185548800 -  304685056] HPFS/QNX/AUXfdisk:*1> writeDevice could not be accessed exclusively.A reboot will be needed for changes to take effect. OK? [n] yWriting MBR at offset 0.

 重啟電腦按OPTION

 

Mac OS X磁碟重新分區後 BootCamp Windows啟動項丟失

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.