Answers:
我最终使用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是正常的,但是当我尝试使用Disk Utility调整分区表的大小时,我看到一个较小的卷头错误。
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。