카테고리 보관물: Superuser

superuser

데이터 손실없이 MBR 파티션을 GPT로 변환하려면 어떻게해야합니까? Windows 7 + Mac

볼륨을 MBR로 분할하고 Windows 7 + Mac OS X를 설치할 수있었습니다. 불행히도 Mac OS X의 디스크 유틸리티는 GPT 볼륨이 아니기 때문에 Mac 파티션의 크기를 조정할 수 없습니다. 또한 GPT 볼륨이 필요하므로 Mountain Lion으로 업그레이드 할 수 없습니다. 볼륨을 조정할 수 있도록 데이터 손실없이 볼륨을 안전하게 GPT로 변환하려면 어떻게해야합니까?



답변

파티션을 변환하기 위해 gdisk 를 사용했습니다 . 나는 발행했다 :

sudo gdisk /dev/disk0

그리고 나는이 경고에 인사했다 :

Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
THIS OPERATON IS POTENTIALLY DESTRUCTIVE! Exit by typing 'q' if
you don't want to convert your MBR partitions to GPT format!
***************************************************************

Command (? for help):

데이터를 백업 한 후 gdisk가 자동으로 변경하고 종료 (w, q) 한 다음 재부팅 한 변경 사항으로 파티션 테이블을 작성했습니다.

Lion으로 부팅하는 것은 정상이지만 디스크 유틸리티를 사용하여 파티션 테이블의 크기를 조정하려고 할 때 작은 볼륨 헤더 오류가 있음을 알았습니다.

Verifying volume "Mac OS X"
Performing live verification.
Checking Journaled HFS Plus Volume.
Checking catalog file.
Checking multi-linked files.
Checking extended attributes file.
Incorrect number of extended attributes
(It should be 245871 instead of 245862)
Checking volume bitmap.
Checking volume information.
The volume Mac OS X was found to be corrupt and needs to be repaird
Error: This disk needs to be repaired...then use Disk Utility to repair this disk

글쎄, 나는 재부팅하고 -s를 사용하여 단일 사용자 모드로 부팅했다. 거기에서 나는 신뢰를 얻었습니다.

/sbin/fsck -fy

이제 모든 것이 잘되었습니다. Mac OS X 볼륨의 크기를 즐겁게 조정했으며 Mountain Lion 업그레이드를 진행할 수 있습니다.


답변