[Parted-maintainers] Bug#739317: parted: running on apple formated cdimage file fails assert
Ben Hildred
ben at hildred.us
Mon Feb 17 16:47:13 UTC 2014
Package: parted
Version: 2.3-12
Severity: normal
I have a cd image of a mac ppc install disk that I was wanting to inspect
before burning to disk. I was suspecting that there would be one or more hfs
partitions in a apple partition map. file game no useful information and gdisk
identified the partition type but could not read it. So I was happy to find
that parted should work. Alas . . .
ben at crystal:~/mp4$ /sbin/parted MacOS904Z.iso
WARNING: You are not superuser. Watch out for permissions.
GNU Parted 2.3
Using /home/ben/mp4/MacOS904Z.iso
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
align-check TYPE N check partition N for TYPE(min|opt)
alignment
check NUMBER do a simple check on the file system
cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another
partition
help [COMMAND] print general help, or help on
COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition
table)
mkfs NUMBER FS-TYPE make a FS-TYPE file system on
partition NUMBER
mkpart PART-TYPE [FS-TYPE] START END make a partition
mkpartfs PART-TYPE FS-TYPE START END make a partition with a file system
move NUMBER START END move partition NUMBER
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table,
available devices, free space, all found partitions, or a particular partition
quit exit program
rescue START END rescue a lost partition near START
and END
resize NUMBER START END resize partition NUMBER and its file
system
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on
partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and
copyright information of GNU Parted
(parted) print
Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
Ignore/Cancel? i
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (2.3)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Command History:
help
print
Segmentation fault
ben at crystal:~/mp4$ /sbin/parted MacOS904Z.iso unit co print unit s print
WARNING: You are not superuser. Watch out for permissions.
Warning: The driver descriptor says the physical block size is 2048 bytes, but
Linux says it is 512 bytes.
/sbin/parted: invalid token: unit
Ignore/Cancel? i
parted: malloc.c:4660: _int_malloc: Assertion `(unsigned long)(size) >=
(unsigned long)(nb)' failed.
Aborted
ben at crystal:~/mp4$ reportbug parted
-- System Information:
Debian Release: 7.4
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages parted depends on:
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38+deb7u1
ii libdevmapper1.02.1 2:1.02.74-8
ii libparted0debian1 2.3-12
ii libreadline6 6.2+dfsg-0.1
ii libtinfo5 5.9-10
ii libuuid1 2.20.1-5.3
parted recommends no packages.
Versions of packages parted suggests:
ii parted-doc 2.3-12
-- no debconf information
More information about the Parted-maintainers
mailing list