[Parted-maintainers] Bug#529585: parted resized an HFS+ partition OK, but changed its code
A Mennucc
debdev at mennucci.sns.it
Wed May 20 09:42:59 UTC 2009
Package: parted
Version: 1.8.8.git.2008.03.24-11.1
Severity: normal
hi,
I have an external USB drive, with partition table of "msdos"
style (as reported by 'parted'); it had 3 partitions, and
the first and largest was a HFS+ partition.
I wanted to create another partition, so I used 'parted' to reduce
the size of the first partion/HFS+filesystem; 'parted' ran OK,
and Linux could read the volume OK (but not write it, since it
is journalled).
But when I connected the disk to a Mac, the partition was listed
as a "dos" partition, and not accessible.
It turned out that 'parted' changed the type
of the partition in the MBR table. This is a bug (and it seems an
easy to fix bug).
So I connected the disk to the Linux box once again, and
used 'fdisk' to set the partition type code to (hexadecimal) 'af'
When I connected the disk to the MAc, I could visualize the
partition; and according to Mac Os X 'disk utility' , I have
to repair some problems in the volume bitmap, but the partition
and its data seem OK.
a.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages parted depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libncurses5 5.7+20081213-1 shared libraries for terminal hand
ii libparted1.8-1 1.8.8.git.2008.03.24-11.1 The GNU Parted disk partitioning s
ii libreadline5 5.2-3.1 GNU readline and history libraries
parted recommends no packages.
Versions of packages parted suggests:
pn parted-doc <none> (no description available)
-- no debconf information
More information about the Parted-maintainers
mailing list