解决grub引导错误的问题

用spfdisk重构了mbr出现 hl=hfs\++partition+error错误

解决办法

I have been using os x for 1 year now and yesterday I broke my install but every-time I reinstall I get an HFS+ partition error. I have finally fixed it and thought I share my success.

Well, first you must know that this error occurs either because of a bad master boot record (MBR) or the partition id is not af.

To fix this, do the following:
1. Make sure that your partition id is af. You can check this by using spfdisk or diskpart.

If you partition id is af, then carry on to the rest of the steps.
2. Boot into your installation DVD (any version)
3. Open terminal from the utilities menu and type the following

CODE
fdisk -u /dev/rdisk0

NB. If OS X is on your second HD then use rdisk1 instead of rdisk0

An alternative way is to get make an MS-DOS start-up diskette and put fdisk on it, and boot from it.
In DOS, type
CODE
fdisk /MBR


I hope this helps the people who are having this problem.

转载于:https://www.cnblogs.com/glister/archive/2009/04/14/1435769.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值