Red Hat Bugzilla – Bug 684399
Parted crash while making live-usb
Last modified: 2011-03-12 10:29:57 EST
Description of problem:
Parted crashes when trying to print partition info.
I followed exactly CLI instructions on http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo to partion, format and install liveusb image. When trying to mark the usb key bootable, parted crashes:
[root@localhost ~]# parted /dev/sdb
GNU Parted 2.3
Welcome to GNU Parted! Type 'help' to view a list of commands.
Backtrace has 13 calls on stack:
13: /lib64/libparted.so.0(ped_assert+0x31) [0x304b412011]
12: /lib64/libparted.so.0() [0x304b43bc4e]
11: /lib64/libparted.so.0() [0x304b43c30e]
10: /lib64/libparted.so.0() [0x304b43e39b]
9: /lib64/libparted.so.0(ped_disk_add_partition+0x1cf) [0x304b417ecf]
8: /lib64/libparted.so.0() [0x304b43d900]
7: /lib64/libparted.so.0() [0x304b43dd73]
6: /lib64/libparted.so.0(ped_disk_new+0x75) [0x304b418315]
5: parted() [0x4059f1]
4: parted(interactive_mode+0xf3) [0x40dab3]
3: parted(main+0x146f) [0x40aa8f]
2: /lib64/libc.so.6(__libc_start_main+0xfd) [0x304441ee5d]
1: parted() [0x404f69]
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:
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:
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
Assertion (head_size <= 63) at dos.c:661 in function
Aborted (core dumped)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.insert but do not mount usb key
You can fix this by erasing the first few blocks of the device with dd if=/dev/zero bs=512 count=100 of=/dev/blah
*** This bug has been marked as a duplicate of bug 585468 ***