Hi, I'm trying to use gparted to examine what I believe is a partition table from the Lenovo Ideapad A1. I've uploded a file containing the partition table to http://www.doc.ic.ac.uk/~grm08/ideapad/mbr16GB.img (md5: 0b236b16e98de53393f6539c40ba1201).
When I use the command "print all", there are a couple of errors that I have to ignore, and then a failed assertion. The output is as follows: $ parted mbr16GB.img GNU Parted 3.0 Using /home/graham/android/ideapad_ota/ROW/mbr16GB.img Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print all Error: end of file while reading No medium found Retry/Ignore/Cancel? i Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel? OK Backtrace has 10 calls on stack: 10: /home/graham/programs/parted-3.0/lib/libparted.so.1(ped_assert+0x2e) [0x7f44f40d470e] 9: /home/graham/programs/parted-3.0/lib/libparted.so.1(+0x2596a) [0x7f44f40ec96a] 8: /home/graham/programs/parted-3.0/lib/libparted.so.1(ped_disk_new+0x58) [0x7f44f40d9b88] 7: /home/graham/programs/parted-3.0/sbin/parted() [0x406af1] 6: /home/graham/programs/parted-3.0/sbin/parted() [0x4075ca] 5: /home/graham/programs/parted-3.0/sbin/parted() [0x407585] 4: /home/graham/programs/parted-3.0/sbin/parted(interactive_mode+0xf3) [0x40bf03] 3: /home/graham/programs/parted-3.0/sbin/parted(main+0xe47) [0x406047] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f44f38d4ead] 1: /home/graham/programs/parted-3.0/sbin/parted() [0x4060d5] You found a bug in GNU Parted! Here's what you have to do: ... Assertion (last_usable <= disk->dev->length) at gpt.c:727 in function _parse_header() failed. The output of "parted DEVICE unit co print unit s print" was as follows: $ parted mbr16GB.img unit co print unit s print Error: end of file while reading No such file or directory parted: invalid token: unit Retry/Ignore/Cancel? i Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel? OK Backtrace has 8 calls on stack: 8: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x2e) [0x7f00cfaa1f3e] 7: /lib/x86_64-linux-gnu/libparted.so.0(+0x44712) [0x7f00cfad2712] 6: /lib/x86_64-linux-gnu/libparted.so.0(ped_disk_new+0x58) [0x7f00cfaa80b8] 5: parted() [0x407401] 4: parted(non_interactive_mode+0x8c) [0x40e00c] 3: parted(main+0x1407) [0x406ae7] 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f00cf29bead] 1: parted() [0x406bad] You found a bug in GNU Parted! Here's what you have to do: 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. Assertion (last_usable <= disk->dev->length) at ../../../libparted/labels/gpt.c:718 in function _parse_header() failed. Please let me know if there is any more information that I should provide. Many thanks, Graham Markall.