I have an old Mac OS X drive that I would like to reuse as external storage. I'm trying to reformat the drive to allow me to do this using Linux parted. I've been successful removing all the old partitions except for the 32 KB head partition:
GNU Parted 2.2 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: ST375064 0NS (scsi) Disk /dev/sdc: 750GB Sector size (logical/physical): 512B/512B Partition Table: mac Number Start End Size File system Name Flags 1 512B 32.8kB 32.3kB Apple (parted) rm 1 Error: Partition map has no partition map entry! Fix/Cancel? Fix (parted) print Model: ST375064 0NS (scsi) Disk /dev/sdc: 750GB Sector size (logical/physical): 512B/512B Partition Table: mac Number Start End Size File system Name Flags 1 512B 32.8kB 32.3kB Apple
This appears to be filed as a bug for the related gparted program, so I'm guessing that parted has the same problem.
I also tried using fdisk:
sudo fdisk -c -u sdc Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0x23b7e238. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Is it possible to use any Linux tool to accomplish this? This super user question seems to indicate the problem is solvable by installing a fresh OS, but I need a generic storage drive rather than a fresh OS install, so I'm hoping for an easier way.