我有一个旧的Mac OS X驱动器,我想将其重新用作外部存储。我正在尝试重新格式化驱动器,以允许我使用parted Linux来执行此操作。我已经成功删除了所有旧分区,但32 KB头分区除外:
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
看来这是相关gparted程序的错误,所以我猜测parted也有同样的问题。
我也尝试使用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)
可以使用任何Linux工具来完成此操作吗?这个超级用户问题似乎表明,通过安装全新的操作系统可以解决该问题,但是我需要通用的存储驱动器,而不是全新的操作系统,因此,我希望找到一种更简单的方法。