Upgrading to Mavericks, MBR partition scheme?
When trying to upgrade my Mac OSX Lion to Maverick i discovered that the disk0 partition was marked as MBR.
Mavericks requires a GUID partition format.
So i need a way to convert disk0 from MBR to GUID ( GPT ) format.
The following is information from fdisk, gdisk and disk utility, about my disk configuration:
From Mac Disk Utility:
Name : APPLE SSD TS256C Media
Type : Disk
Partition Map Scheme : Master Boot Record
Disk Identifier : disk0
Media Name : APPLE SSD TS256C Media
Media Type : Generic
Connection Bus : SATA
Device Tree : IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0
Writable : Yes
Ejectable : No
Location : Internal
Solid State Disk : Yes
Total Capacity : 251 GB (251,000,193,024 Bytes)
Disk Number : 0
Partition Number : 0
S.M.A.R.T. Status : Verified
Raw Read Error : 000000000000
Reallocated Sector Count : 000000000000
Power On Hours : 00000000224D
Power Cycle : 000000000A96
Temperature : 003A000A001F
UDMA CRC Error (PATA only) : 000000000000
$ sudo gpt -r -vv show /dev/rdisk0
Password:
gpt show: /dev/rdisk0: mediasize=251000193024; sectorsize=512; blocks=490234752
gpt show: /dev/rdisk0: MBR at sector 0
gpt show: /dev/rdisk0: MBR at sector 264972225
gpt show: /dev/rdisk0: Pri GPT at sector 1
gpt show: error: bogus map
gpt show: unable to open device '/dev/rdisk0': Undefined error: 0
--------------------------------------------------------------
$ sudo gdisk -l /dev/rdisk0
Password:
GPT fdisk (gdisk) version 0.8.8
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 1
Disk /dev/rdisk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): A80B0E7C-9DBD-4222-9BD5-17823735BFAB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 1103653 sectors (538.9 MiB)
Number Start (sector) End (sector) Size Code Name
1 409640 200019007 95.2 GiB AF00 Apple HFS/HFS+
2 200710144 264970239 30.6 GiB 0700 Microsoft basic data
4 293642240 490233855 93.7 GiB 0700 Microsoft basic data
5 264972288 293642239 13.7 GiB 0700 Microsoft basic data
----------------------------------------------------------
$ sudo gdisk -l /dev/rdisk0
GPT fdisk (gdisk) version 0.8.8
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: present
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Your answer: 2
Using GPT and creating fresh protective MBR.
Disk /dev/rdisk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00002069-31E3-0000-9669-00000C420000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 263973 sectors (128.9 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI system partition
2 409640 200019007 95.2 GiB AF00 Customer
3 200282112 222867455 10.8 GiB 0700 FREE
4 222867456 293642239 33.7 GiB 0700 Untitled
5 293642240 490233855 93.7 GiB 0700 BOOTCAMP
----------------------------------------------------------
$ sudo fdisk /dev/rdisk0
Disk: /dev/rdisk0 geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: AF 25 127 15 - 1023 254 63 [ 409640 - 199609368] HFS+
2: 0B 1023 254 63 - 1023 254 63 [ 200710144 - 64260096] Win95 FAT-32
3: 0F 1023 254 63 - 1023 254 63 [ 264972225 - 28670015] Extended LBA
*4: 07 1023 254 63 - 1023 254 63 [ 293642240 - 196591616] HPFS/QNX/AUX
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 07 1023 254 63 - 1023 254 63 [ 264972288 - 28669952] HPFS/QNX/AUX
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
----------------------------------------------------------
Thanks Christopher and Loner for being helpful and looking into this.
MacBook Pro (17-inch Early 2011), OS X Mavericks (10.9)