[Bug 909424] Re: after using cfdisk to format a mac disk, parted still uses the mac partition table
Phillip Susi
psusi at ubuntu.com
Wed Oct 9 17:33:52 UTC 2013
** No longer affects: parted (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/909424
Title:
after using cfdisk to format a mac disk, parted still uses the mac
partition table
Status in “util-linux” package in Ubuntu:
Triaged
Bug description:
parted reports a disk as having an hfs+ partition, when in fact it has
a single ext3 partition.
fdisk, sfdisk, cfdisk and gdisk all report the disk with an ext3
partition as expected, and fsck reports that partition as clean.
I tried both my standard parted 2.2 (2.2-5ubuntu5 in "Ubuntu 10.04.3
LTS") and a freshly compiled parted 3.0 with the same result.
=========================
# parted /dev/sdb print
Model: ATA WDC WD5000AAVS-0 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: mac
Number Start End Size File system Name Flags
1 512B 32.8kB 32.3kB Apple
3 134MB 500GB 500GB hfs+ Apple_HFS_Untitled_1
=========================
# fdisk -l /dev/sdb
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 83 Linux
=========================
# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.5.1
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!
***************************************************************
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Disk identifier (GUID): A44C39DC-F029-04AD-746D-F75D6FB0250B
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Total free space is 5099 sectors (2.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 63 976768064 465.8 GiB 0700 Linux/Windows data
=========================
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/909424/+subscriptions
More information about the foundations-bugs
mailing list