Bug 684399 - Parted crash while making live-usb
Summary: Parted crash while making live-usb
Keywords:
Status: CLOSED DUPLICATE of bug 585468
Alias: None
Product: Fedora
Classification: Fedora
Component: parted
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-12 09:54 UTC by moabi2000
Modified: 2011-03-12 15:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-12 15:29:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description moabi2000 2011-03-12 09:54:51 UTC
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
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
                                                                      (parted) print
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:

        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.

Assertion (head_size <= 63) at dos.c:661 in function
probe_partition_for_geom() failed.

Aborted (core dumped)
[root@localhost ~]# 







Version-Release number of selected component (if applicable):


How reproducible:

Every time.


Steps to Reproduce:
1.insert but do not mount usb key
2.parted /dev/sdX
3.print
  
Actual results:


Expected results:


Additional info:

Comment 1 Brian Lane 2011-03-12 15:29:57 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.